mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Documentation for Issue #5920.
This commit is contained in:
parent
8482ef9722
commit
25e218e381
1 changed files with 4 additions and 1 deletions
|
@ -434,7 +434,10 @@ The available presentation types for floating point and decimal values are:
|
|||
| ``'%'`` | Percentage. Multiplies the number by 100 and displays |
|
||||
| | 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…
Add table
Add a link
Reference in a new issue