11 lines
298 B
Markdown
11 lines
298 B
Markdown
|
---
|
||
|
title: Create Decimal Numbers with JavaScript
|
||
|
---
|
||
|
# Create Decimal Numbers with JavaScript
|
||
|
|
||
|
JavaScript number variables can have decimals.
|
||
|
|
||
|
var myDecimal = 2.8;
|
||
|
|
||
|
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds -->
|