Kaydet (Commit) 103f19d2 authored tarafından Eric Smith's avatar Eric Smith

Added 'n' presentation type for integers.

üst 9dd6b1db
...@@ -627,9 +627,9 @@ docs), but here's a sample:: ...@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment