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 mamrhein
Recipients docs@python, mamrhein
Date 2019-12-19.10:11:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The description of the "Format Specification Mini-Language" states for float and Decimal regarding presentation type 'f':
"The default precision is 6."
Regarding presentation type None it reads:
"Similar to 'g', except that fixed-point notation, when used, has at least one digit past the decimal point."
While both statements are accurate for float, they don't hold for Decimal.
In order to preserve the information about the decimal exponent, in both cases Decimal formatting displays as many fractional digits as dictated by it's exponent.
Date User Action Args
2019-12-19 10:11:20mamrheinsetrecipients: + mamrhein, docs@python
2019-12-19 10:11:20mamrheinsetmessageid: <>
2019-12-19 10:11:20mamrheinlinkissue39096 messages
2019-12-19 10:11:19mamrheincreate