Floating point bug?

robinsiebler at gmail.com robinsiebler at gmail.com
Thu Feb 14 00:01:28 CET 2008


I've never had any call to use floating point numbers and now that I
want to, I can't!

*** Python 2.5.1 (r251:54863, May  1 2007, 17:47:05) [MSC v.1310 32
bit (Intel)] on win32. ***
>>> float (.3)
0.29999999999999999
>>> foo = 0.3
>>> foo
0.29999999999999999
>>>



More information about the Python-list mailing list