[issue13838] In str.format "{0:#.5g}" for decimal.Decimal doesn't print trailing zeros

Mark Dickinson report at bugs.python.org
Mon Jan 23 09:52:38 CET 2012


Mark Dickinson <dickinsm at gmail.com> added the comment:

Ah no, I take it back.  I think (2) is fine---this is the usual preservation of trailing zeros where possible.  (1) needs to be fixed (and issue #7094 was left open waiting for this fix).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13838>
_______________________________________


More information about the Python-bugs-list mailing list