Benjamin Peterson <[email protected]> added the comment:
On Python 2, round just converts the decimal to a float. So, this is a
consequence of:
>>> float(Decimal('-123.499999999999999999999999999999999999999999'))
-123.5
----------
nosy: +benjamin.peterson
resolution: -> not a bug
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue39335>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com