Ok so, this is what I have
amount = parseFloat("0.07") * 100;
and this is what I get in return
7.000000000000001
Could anyone tell me why? It only happens with 0.07... Other numbers convert correctly, 0.01 or 0.06 for instance.
Ok so, this is what I have
amount = parseFloat("0.07") * 100;
and this is what I get in return
7.000000000000001
Could anyone tell me why? It only happens with 0.07... Other numbers convert correctly, 0.01 or 0.06 for instance.