This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jluscher
Recipients docs@python, jluscher
Date 2015-05-25.03:47:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1432525661.76.0.778289488929.issue24281@psf.upfronthosting.co.za>
In-reply-to
Content
Doc for 3.4: at 6.1.3.1. Format Specification Mini-Language
indicates that:
"The precision is a decimal number indicating how many digits should be displayed after the decimal point for a floating point value"

Yet I find that I get this behavior:

Python 3.4.3 (default, Mar 26 2015, 22:03:40) 
[GCC 4.9.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> '{:08.3}'.format(12.34)
'000012.3'

When what I am expecting is:  '0012.340'
History
Date User Action Args
2015-05-25 03:47:41jluschersetrecipients: + jluscher, docs@python
2015-05-25 03:47:41jluschersetmessageid: <1432525661.76.0.778289488929.issue24281@psf.upfronthosting.co.za>
2015-05-25 03:47:41jluscherlinkissue24281 messages
2015-05-25 03:47:40jluschercreate