[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
- ==> Left justify the result within the given field width. Default:
Right justify.
+ ==> Prefix the output value with a sign (+ or -) if the output value
is of a signed type. Default: Sign appears only for negative
signed values (-).
blank (' ') ==> Prefix the output value with a blank if the output
value is signed and positive. The blank is ignored if both the
blank and + flags appear. Default: No blank.
# ==> When used with the o, x, or X format, the # flag prefixes any
nonzero output value with 0, 0x, or 0X, respectively. Default: No
blank.
# ==> When used with the e, E, or f format, the # flag forces the
output value to contain a decimal point in all cases. Default:
Decimal point appears only if digits follow it.
# ==> When used with the g or G format, the # flag forces the output
value to contain a decimal point in all cases and prevents the
truncation of trailing zeros. Default: Decimal point appears only
if digits follow it. Trailing zeros are truncated.
# ==> Ignored when used with c, d, i, u or s
0 ==> For d, i, o, u, x, X, e, E, f, g, and G conversions, leading
zeros (following any indication of sign or base) are used to pad to
the field width; no space padding is performed. If the 0 and -
flags both appear, the 0 flag will be ignored. For d, i, o, u, x,
and X conversions, if a precision is specified, the 0 flag will be
ignored. For other conversions the behavior is undefined.
Default: Use blank padding
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson