Im not understanding how decimals works

I just know the answer, but idk how it gets there. help. i’m new.

We will need much more information to be able to help you. What problem are you working on? What code do you have so far? Is there a link to what you are working on?

i’m doing the basics of java and learning how to calculate the decimal.

var ourDecimal = 5.7;

// Only change the code below this line

var myDecimal = 0.0009

If I am understanding you correctly, you are working on the JavaScript challenge here:

It looks like your code solves the challenge, so I don’t understand what your question is.

Yes, you’re right! And i know the answer is already there, but i dont know why it is 0.0009, like, why? 5.7 is 35, it doesn’t make sense to be a question about decimal numbers.

I don’t understand what this means. 5.7 is a decimal number. The dot between the 5 and the 7 is the decimal point.

1 Like

oooooh, lmao, i thought the dot was a multiplication sign, thank you bro <3

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