mirror of https://github.com/python/cpython
Documentation for Issue #5920.
This commit is contained in:
parent
8482ef9722
commit
25e218e381
|
@ -434,7 +434,10 @@ The available presentation types for floating point and decimal values are:
|
||||||
| ``'%'`` | Percentage. Multiplies the number by 100 and displays |
|
| ``'%'`` | Percentage. Multiplies the number by 100 and displays |
|
||||||
| | in fixed (``'f'``) format, followed by a percent sign. |
|
| | in fixed (``'f'``) format, followed by a percent sign. |
|
||||||
+---------+----------------------------------------------------------+
|
+---------+----------------------------------------------------------+
|
||||||
| None | The same as ``'g'``. |
|
| None | Similar to ``'g'``, except with at least one decimal |
|
||||||
|
| | point and a default precision of 12. This is intended to |
|
||||||
|
| | match :func:`str`, except you can add the other |
|
||||||
|
| | format modifiers. |
|
||||||
+---------+----------------------------------------------------------+
|
+---------+----------------------------------------------------------+
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue