[issue39059] Getting incorrect results in rounding procedures

AVicennA report at bugs.python.org
Mon Dec 16 06:37:52 EST 2019


AVicennA <tural.jalilov.92 at gmail.com> added the comment:

@steven.daprano, yes, my_round(2.675, 2) --> gave 2.68 and it's not buggy and not wrong. This is correct in this case. I advise you look at 5th class math book.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39059>
_______________________________________


More information about the Python-bugs-list mailing list