@@ -509,9 +509,8 @@ The available presentation types for :class:`float` and
509509 | | significant digits. With no precision given, uses a |
510510 | | precision of ``6 `` digits after the decimal point for |
511511 | | :class: `float `, and shows all coefficient digits |
512- | | for :class: `~decimal.Decimal `. If no digits follow the |
513- | | decimal point, the decimal point is also removed unless |
514- | | the ``# `` option is used. |
512+ | | for :class: `~decimal.Decimal `. If ``p=0 ``, the decimal |
513+ | | point is omitted unless the ``# `` option is used. |
515514 +---------+----------------------------------------------------------+
516515 | ``'E' `` | Scientific notation. Same as ``'e' `` except it uses |
517516 | | an upper case 'E' as the separator character. |
@@ -522,9 +521,8 @@ The available presentation types for :class:`float` and
522521 | | precision given, uses a precision of ``6 `` digits after |
523522 | | the decimal point for :class: `float `, and uses a |
524523 | | precision large enough to show all coefficient digits |
525- | | for :class: `~decimal.Decimal `. If no digits follow the |
526- | | decimal point, the decimal point is also removed unless |
527- | | the ``# `` option is used. |
524+ | | for :class: `~decimal.Decimal `. If ``p=0 ``, the decimal |
525+ | | point is omitted unless the ``# `` option is used. |
528526 +---------+----------------------------------------------------------+
529527 | ``'F' `` | Fixed-point notation. Same as ``'f' ``, but converts |
530528 | | ``nan `` to ``NAN `` and ``inf `` to ``INF ``. |
0 commit comments