mirror of
https://github.com/python/cpython.git
synced 2026-01-26 21:03:34 +00:00
gh-142019: Add description about the exponent of result formatted with presentation type 'e' (#142084)
This commit is contained in:
parent
e12c744b0a
commit
e27f76b6fe
@ -546,6 +546,9 @@ The available presentation types for :class:`float` and
|
||||
| | :class:`float`, and shows all coefficient digits |
|
||||
| | for :class:`~decimal.Decimal`. If ``p=0``, the decimal |
|
||||
| | point is omitted unless the ``#`` option is used. |
|
||||
| | |
|
||||
| | For :class:`float`, the exponent always contains at |
|
||||
| | least two digits, and is zero if the value is zero. |
|
||||
+---------+----------------------------------------------------------+
|
||||
| ``'E'`` | Scientific notation. Same as ``'e'`` except it uses |
|
||||
| | an upper case 'E' as the separator character. |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user