The syntax for number formats is as follows,
where 
digit represents the radix set specified by
the 
fmtflags argument value, and
thousands-sep and 
decimal-point
are the results of corresponding 
numpunct<charT> members
.Integer values have the format:
units:
digits
digits thousands-sep units
and floating-point values have:
floatval:signopt units fractional
opt exponent
optsignopt decimal-point digits exponent
opt
 
fractional:
decimal-point digitsopt
exponent:e 
signopt digits
 
e:
e
E
where the number of digits between 
thousands-seps
is as specified by 
do_grouping().