Skip to content

Commit

Permalink
Document floating-point n specifier (#1291)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Aug 31, 2019
1 parent ee26256 commit 644bcc3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/syntax.rst
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,10 @@ The available presentation types for floating-point values are:
| | ``'E'`` if the number gets too large. The |
| | representations of infinity and NaN are uppercased, too. |
+---------+----------------------------------------------------------+
| ``'n'`` | Number. This is the same as ``'g'``, except that it uses |
| | the current locale setting to insert the appropriate |
| | number separator characters. |
+---------+----------------------------------------------------------+
| ``'%'`` | Fixed point as a percentage. This is similar to ``'f'``, |
| | but the argument is multiplied by 100 and a percent sign |
| | ``%`` is appended. |
Expand Down

0 comments on commit 644bcc3

Please sign in to comment.