[issue13718] Format Specification Mini-Language does not accept comma for percent value
Stefan Krah
report at bugs.python.org
Mon Jan 9 19:43:16 CET 2012
Stefan Krah <stefan-usenet at bytereef.org> added the comment:
[[fill]align][sign][#][0][width][,][.precision][type]
The ',' must be before [.precision]:
>>> '{:,.2%}'.format(55.537568)
'5,553.76%'
In my opinion this is not a bug.
----------
nosy: +skrah
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13718>
_______________________________________
More information about the Python-bugs-list
mailing list