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 ikelly
Recipients ikelly
Date 2015-02-13.17:15:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1423847721.13.0.666007782647.issue23460@psf.upfronthosting.co.za>
In-reply-to
Content
>>> '{:g}'.format(D('0.000001'))
'0.000001'

Formatted with '{:e}', the exponent would be -6, so per the formatting rules described under the 'g' specifier at https://docs.python.org/3/library/string.html#format-specification-mini-language the above should be formatted using exponential notation.
History
Date User Action Args
2015-02-13 17:15:21ikellysetrecipients: + ikelly
2015-02-13 17:15:21ikellysetmessageid: <1423847721.13.0.666007782647.issue23460@psf.upfronthosting.co.za>
2015-02-13 17:15:20ikellylinkissue23460 messages
2015-02-13 17:15:20ikellycreate