[issue21929] Rounding properly
Robert
report at bugs.python.org
Mon Sep 8 15:47:33 CEST 2014
Robert added the comment:
I'm not sure if this is related or not, but on 3.4.1 I get the following:
>>> print(round(float(3/2)))
2 (as expected)
>>> print(round(float(5/2)))
2 (expected 3, as float should round .5 up)
----------
nosy: +fenofonts
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21929>
_______________________________________
More information about the Python-bugs-list
mailing list