Edit: found answer, not need to further comments/answer, thank you!
I have no idea what is going on in my script, and I know there is probably a question very similar to this but here goes:
console.log( ( 3 * 0.10 ) );
= 0.3000000000004 ( estimated the zeros, but close )
I tried parseInt()
and I tried .1
and 0.1
. Why doesn't it give me 0.3
?.
console.log( ( 2 * 0.10 ) );
= 0.2
Can someone help me with this?