printf Format Specification
◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
A format specification has the following form:
%[flags][width][.precision][prefix]type
Each optional field of the format specification is a single
character or a number signifying a format option. These fields
control width and other aspects of formatting.
See: ◄Flags► ◄Width► ◄Precision► ◄Prefix►
The type character, which appears after the last optional format
field, determines whether the associated argument is interpreted
as a character, string, or number.
See: ◄Type►
-♦-