Multiply Two Decimals with JavaScript6

In JavaScript, you can also perform calculations with decimal numbers, just like whole numbers.

Let’s multiply two decimals together to get their product.

Change the 0.0 so that product will equal 5.0 .

ANSWER:

var product = 2.0 * 2.5;

console.log(product)

WHY IS THIS NOT WORKING?!

Link

1 Like

Hi @danielle.radin !

Welcome to the forum!
In the future, please provide the challenge link so we know what is going on.
Thanks!

I would guess at a glance that you should not have changed this variable declaration.

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