[issue24827] round(1.65, 1) return 1.6 with decimal

umedoblock report at bugs.python.org
Sat Aug 8 15:14:47 CEST 2015


umedoblock added the comment:

excuse me.
I understand ROUND_HALF_EVEN meaning.
I think that __round__() function work ROUND_HALF_UP.
so sorry.
I don't have exactly knowledge about ROUND_HALF_EVEN.
I misunderstand about ROUND_HALF_EVEN.
I have thought ROUND_HALF_EVEN means ROUND_HALF_UP.

SO SORRY.

----------

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


More information about the Python-bugs-list mailing list