[issue8049] Wrong calculation result

dawton report at bugs.python.org
Wed Mar 3 10:10:51 CET 2010


New submission from dawton <dawton at centrum.cz>:

I'm using Python 2.3 and today I found out, that Python gives following result:
>>> 2.05*60
122.99999999999999

while
>>> 2.05*10*6
123.0

Is there some explanation or is it a bug?
Thanks for answer!

----------
messages: 100335
nosy: dawton
severity: normal
status: open
title: Wrong calculation result
type: behavior
versions: Python 2.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8049>
_______________________________________


More information about the Python-bugs-list mailing list