Stefan Krah <[email protected]> added the comment:
I just noticed that there are other differences, for example the "removal of
trailing zeros" passage does not apply to Decimal:
>>> format(Decimal("1.000000e-6"), "g")
'0.000001000000'
Perhaps it would be easier to have separate docs for float and decimal after
all, or a long footnote for decimal.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue23460>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com