Appendix 2. Format strings
|
d
|
-decimal number with sign
|
u
|
-decimal number without sign
|
o
|
-octal integer without sign
|
x
|
-hexadecimal integer without sign; to output numbers greater than 9 one should use letters a, b, c, d, e, and f
|
X
|
-hexadecimal integer without sign; to output numbers greater than 9 one should use letters A, B, C, D, E, and F
|
f
|
-real number
|
Copyright © 19972021 Art. Lebedev Studio | http://www.artlebedev.com | Last updated: 01.04.2004 |