<<< Week 9. Ch.11, Numeric Output Format | Index | Numerical Base Output >>> |
Integer values
1234 // decimal 2322 // octal 4d2 // hexadecimal
Floating point values
1234.57 // general 1.2345678e+03 // scientific 1234.567890 // fixed
Precision (for floating-point values)
1234.57 // precision 6 1234.6 // precision 5
Fields
|12| // default for | // followed by 12 // followed by | | 12| // 12 in a field of 4 characters
<<< Week 9. Ch.11, Numeric Output Format | Index | Numerical Base Output >>> |