too long float

Bart Ogryczak B.Ogryczak at addr.in.reply-to.invalid
Sun Jan 20 10:42:16 EST 2008


On 2008-01-18, citizen J. Peng testified:
> hello,
>
> why this happened on my python?

>>>> a=3.9
>>>> a
> 3.8999999999999999

>>> a = 3.9
>>> print a
3.9

bart
-- 
"PLEASE DO *NOT* EDIT or poldek will hate you." - packages.dir (PLD)
http://candajon.azorragarse.info/ http://azorragarse.candajon.info/



More information about the Python-list mailing list