Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 25e218e

Browse files
committed
Documentation for Issue #5920.
1 parent 8482ef9 commit 25e218e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Doc/library/string.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,10 @@ The available presentation types for floating point and decimal values are:
434434
| ``'%'`` | Percentage. Multiplies the number by 100 and displays |
435435
| | in fixed (``'f'``) format, followed by a percent sign. |
436436
+---------+----------------------------------------------------------+
437-
| None | The same as ``'g'``. |
437+
| None | Similar to ``'g'``, except with at least one decimal |
438+
| | point and a default precision of 12. This is intended to |
439+
| | match :func:`str`, except you can add the other |
440+
| | format modifiers. |
438441
+---------+----------------------------------------------------------+
439442

440443

0 commit comments

Comments
 (0)