Divide One Decimal by Another with JavaScript stuck

Tell us what’s happening:

Your code so far

var quotient = 0.0 / 2.0; // Fix this line
var quotient = 4.4 / 2.0;
var quotient = 4.4 / 2.0; // quotient gets the value 2

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36.

Link to the challenge:

This might not be clear from the instructions but all that is required is to change 0.0 to some value so that quotient equals 2.2

Any additional lines of code assigning a value to quotient will fail the test.

Change the 0.0 literally means change that number, not write two more declarations

i did already thank you so much :wink:

1 Like