![]() |
![]() The printf function provides simple formatting, following C's
printf . It can be used in the String
Object, and in Stream writing.
Adds the character '%' itself.
Format as a string.
Converts a character code to a character.
Formats as a decimal integer.
Formats as an octal integer.
Formats as a hex number.
Formats as a fixed floating point number.
Formats as a scientific notation floating point number.
Formats as a 'nice' floating point number. If the
number has an exponent near 0, it formats in fixed point otherwise it
formats in scientific notation.
|