[issue4707] round(25, 1) should return an integer, not a float

Mark Dickinson report at bugs.python.org
Wed Jan 28 22:47:29 CET 2009


Mark Dickinson <dickinsm at gmail.com> added the comment:

Committed in r69068 (py3k), r69069 (release30-maint).

The original bug with round(float, n) (loss of accuracy arising from 
intermediate floating-point rounding errors) is still present;  I think 
further discussion for that can go into issue 1869 (which should probably 
have its priority upgraded).

----------
status: open -> closed

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


More information about the Python-bugs-list mailing list