Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8482ef9 commit 25e218eCopy full SHA for 25e218e
1 file changed
Doc/library/string.rst
@@ -434,7 +434,10 @@ The available presentation types for floating point and decimal values are:
434
| ``'%'`` | Percentage. Multiplies the number by 100 and displays |
435
| | in fixed (``'f'``) format, followed by a percent sign. |
436
+---------+----------------------------------------------------------+
437
- | None | The same as ``'g'``. |
+ | 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. |
441
442
443
0 commit comments