[issue31978] make it simpler to round fractions

Serhiy Storchaka report at bugs.python.org
Thu Nov 9 03:36:19 EST 2017


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

Mark said about round(x/y), not round(x/y, 1). Do you propose to add a three argument divide_and_round(x, y, ndigits)?

----------

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


More information about the Python-bugs-list mailing list