mirror of https://github.com/mkerrisk/man-pages
locale.5: Document mon_grouping and grouping properly
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
780b72d47b
commit
6699fab510
|
@ -608,8 +608,10 @@ followed by the string that will be used as a group separator
|
|||
when formatting monetary quantities.
|
||||
.TP
|
||||
.I mon_grouping
|
||||
followed by a string that describes the formatting of numeric
|
||||
quantities.
|
||||
followed by a sequence of integers separated by semicolons that
|
||||
describe the formatting of monetary quantities. See
|
||||
.I grouping
|
||||
below for details.
|
||||
.TP
|
||||
.I positive_sign
|
||||
followed by a string that is used to indicate a positive sign for
|
||||
|
@ -875,8 +877,19 @@ followed by the string that will be used as a group separator
|
|||
when formatting numeric quantities.
|
||||
.TP
|
||||
.I grouping
|
||||
followed by a string that describes the formatting of numeric
|
||||
quantities.
|
||||
followed by a sequence of integers separated by semicolons that
|
||||
describe the formatting of numeric quantities.
|
||||
.RS
|
||||
.PP
|
||||
Each integer specifies the number of digits in a group. The first
|
||||
integer defines the size of the group immediately to the left of the
|
||||
decimal delimiter. Subsequent integers define succeeding groups to the
|
||||
left of the previous group. If the last integer is not -1, then the size
|
||||
of the previous group (if any) is repeatedly used for the remainder of
|
||||
the digits. If the last integer is -1, then no further grouping is
|
||||
performed.
|
||||
.RE
|
||||
|
||||
.PP
|
||||
The
|
||||
.B LC_NUMERIC
|
||||
|
|
Loading…
Reference in New Issue