Added 'n' presentation type for integers.

This commit is contained in:
Eric Smith 2008-05-12 14:00:01 +00:00
parent 9dd6b1db5b
commit 103f19d286
1 changed files with 3 additions and 3 deletions

View File

@ -627,9 +627,9 @@ docs), but here's a sample::
'g' - General format. This prints the number as a fixed-point 'g' - General format. This prints the number as a fixed-point
number, unless the number is too large, in which case number, unless the number is too large, in which case
it switches to 'e' exponent notation. it switches to 'e' exponent notation.
'n' - Number. This is the same as 'g', except that it uses the 'n' - Number. This is the same as 'g' (for floats) or 'd' (for
current locale setting to insert the appropriate integers), except that it uses the current locale setting to
number separator characters. insert the appropriate number separator characters.
'%' - 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.