@@ -509,9 +509,8 @@ The available presentation types for :class:`float` and
509
509
| | significant digits. With no precision given, uses a |
510
510
| | precision of ``6 `` digits after the decimal point for |
511
511
| | :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. |
515
514
+---------+----------------------------------------------------------+
516
515
| ``'E' `` | Scientific notation. Same as ``'e' `` except it uses |
517
516
| | an upper case 'E' as the separator character. |
@@ -522,9 +521,8 @@ The available presentation types for :class:`float` and
522
521
| | precision given, uses a precision of ``6 `` digits after |
523
522
| | the decimal point for :class: `float `, and uses a |
524
523
| | 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. |
528
526
+---------+----------------------------------------------------------+
529
527
| ``'F' `` | Fixed-point notation. Same as ``'f' ``, but converts |
530
528
| | ``nan `` to ``NAN `` and ``inf `` to ``INF ``. |
0 commit comments