Skip to content

Commit ad91aa2

Browse files
Dawn Perchikzygoloid
authored andcommitted
[format.string.std] Use bullets to list the effects of the locale-specific form on each arithmetic type.
1 parent a5938ea commit ad91aa2

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

source/utilities.tex

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19884,17 +19884,25 @@
1988419884
The \tcode{L} option causes
1988519885
the \defnx{locale-specific form}{locale-specific form!format string}
1988619886
to be used for the conversion.
19887-
This option is only valid for arithmetic types.
19887+
This option is only valid for arithmetic types, and
19888+
its effect depends upon the type.
19889+
\begin{itemize}
19890+
\item
1988819891
For integral types, the locale-specific form
1988919892
causes the context's locale to be used
1989019893
to insert the appropriate digit group separator characters.
19894+
19895+
\item
1989119896
For floating-point types, the locale-specific form
1989219897
causes the context's locale to be used
1989319898
to insert the appropriate digit group and decimal radix separator characters.
19899+
19900+
\item
1989419901
For the textual representation of \tcode{bool}, the locale-specific form
1989519902
causes the context's locale to be used
1989619903
to insert the appropriate string as if obtained
1989719904
with \tcode{numpunct::truename} or \tcode{numpunct::falsename}.
19905+
\end{itemize}
1989819906

1989919907
\pnum
1990019908
The \fmtgrammarterm{type} determines how the data should be presented.

0 commit comments

Comments
 (0)