How to get float number to be the whole number | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to get float number to be the whole number

I just want 0.8 to be 8 how to do that in javascript?

26th Apr 2022, 2:41 PM
EsaKurniawan
1 Answer
+ 5
Multiply with 10
26th Apr 2022, 2:44 PM
A͢J
A͢J - avatar