Tuesday, 3 September 2013

Python adding floats adds at the end 00000000000001

Python adding floats adds at the end 00000000000001

Why simple floats adding returning so weird value?
In [1]: .4+.42
Out[1]: 0.8200000000000001

No comments:

Post a Comment