Basic JavaScript - Create Decimal Numbers with JavaScript

Tell us what’s happening:

Describe your issue in detail here.

Your code so far

const ourDecimal = 5.7;

// Only change code below this line
const myDecimal = 1.35

Your browser information:

User Agent is: To create a float, you just declare a variable like this

const myDecimal = 1.25;/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Mobile Safari/537.36

Challenge Information:

Basic JavaScript - Create Decimal Numbers with JavaScript

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.

you are missing the semicolon

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.