[issue23460] Decimals do not obey ':g' exponential notation formatting rules

Stefan Krah report at bugs.python.org
Sun Feb 24 09:05:33 EST 2019


Stefan Krah <stefan at bytereef.org> added the comment:

On the other hand, the docs say "insignificant trailing zeros are removed from the significand", so technically it *is* correct, because trailing zeros are significant in decimal.

----------

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


More information about the Python-bugs-list mailing list