Multiply Two Decimals with JavaScript

Multiply Two Decimals with JavaScript
0.0 0

#1

Tell us what’s happening:

Your code so far

var product = 2.0 * 0.0;


Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36.

Link to the challenge:


#2

Change the 0.0 so that product will equal 5.0.

So you should change the 0.0 to 2.5 (5.0 / 2.0).