Is JavaScript's math broken?
Posted
by Cato Johnston
on Stack Overflow
See other posts from Stack Overflow
or by Cato Johnston
Published on 2009-02-25T21:39:02Z
Indexed on
2010/04/09
12:23 UTC
Read the original article
Hit count: 503
0.1 + 0.2 == 0.3
returns false
0.1 + 0.2 = 0.30000000000000004
Any ideas on why this happens?
© Stack Overflow or respective owner