[New-bugs-announce] [issue19269] subtraction of pennies incorrect rounding or truncation problem

Pete report at bugs.python.org
Wed Oct 16 07:09:20 CEST 2013


New submission from Pete:

Python makes errors on simple subtraction with 'pennies'. 
>>> 2000.0 - 1880.98
119.01999999999998

See attached file for more examples...

----------
components: Windows
files: py_subtraction_bug
messages: 200035
nosy: radiokinetics.pete
priority: normal
severity: normal
status: open
title: subtraction of pennies incorrect rounding or truncation problem
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file32141/py_subtraction_bug

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


More information about the New-bugs-announce mailing list