New submission from paontis <paor...@gmail.com>:

For example round(10.3333, 1) returns 10.300000000000001 and round(1.3333, 
2)returns 1.3300000000000001

I exect they return 10.3 and 1.33 rispectively

NOTE: other combinations work fine eg. round(10.3333, 2) or round(1.3333, 3)

See IDLE commands in the attached file round.txt

Used Python 2.6.6 for Windows

----------
files: round.txt
messages: 116656
nosy: paontis
priority: normal
severity: normal
status: open
title: Function Round does not work properly in some conditions
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file18908/round.txt

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9885>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to