[Python-ideas] Rough draft: Proposed format specifier for a thousands separator (discussion moved from python-dev)
greg.ewing at canterbury.ac.nz
Tue Mar 17 21:39:55 CET 2009
Mark Dickinson wrote:
>>>>format('%014f', 123.456, grouping=1)
> That also means that the relationship between the field width (14
> in this case) and the string length (16) is somewhat obscured.
I'd consider that part a bug that we shouldn't imitate.
The field width should always be what you say it is,
unless the value is too big to fit.
More information about the Python-ideas