freeCodeCamp Challenge Guide: Create Decimal Numbers with JavaScript

Create Decimal Numbers with JavaScript


Hints

Hint 1

JavaScript number variables can have decimals.


Solutions

Solution 1 (Click to Show/Hide)
var myDecimal = 2.8;

Decimals should have 2 places. 2.80, What is your question?

This is not a question but with relation to the challenge, right now it only shows how to form a decimal with JavaScript.

this is part of the wiki and anyone is free to extend on it.