[issue17259] Document round half to even rule for floats

Terry J. Reedy report at bugs.python.org
Fri Feb 22 20:34:48 CET 2013


Terry J. Reedy added the comment:

'%.0f' % 5.5, etc, does the same. I agree that consistent 3.x half to even is both correct and and in need of better doc to avoid repeated questions and invalid bug reports.

----------
nosy: +terry.reedy
title: locale.format() rounding is not reliable for floats -> Document round half to even rule for floats
versions:  -Python 2.7

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


More information about the Python-bugs-list mailing list