[Python-bugs-list] [ python-Bugs-666468 ] round() not working as expected
SourceForge.net
noreply@sourceforge.net
Sat, 11 Jan 2003 18:32:23 -0800
Bugs item #666468, was opened at 2003-01-12 02:32
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=666468&group_id=5470
Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Mr Topf (mrtopf)
Assigned to: Nobody/Anonymous (nobody)
Summary: round() not working as expected
Initial Comment:
I tried the following:
>> round(1.11,2)
1.1100000000000001
I would expect 1.11 as result.
So this seems not to be right. This seems to be the
case for all of the 1.1x numbers.
This happened on Linux (SuSE 8.1 and 8.0) and on
various python version (2.1,2.2).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=666468&group_id=5470