Python float representation error?

mailpitches at email.com mailpitches at email.com
Sun Mar 26 18:40:04 EST 2006


try running this in python:

print [39.95]

the output i get is:
[39.950000000000003]

what's up with that?




More information about the Python-list mailing list