Output from the output demo program. | Lecture 2 - slide 16 : 43 Program 2 |
Argument number only: 1 1,1 Formatting codes d and f: 3 3,30 Field width: 4 4,40 Left aligned: 5 5,50 Precision: 00006 6,60000 Exponential: 7,00000e+000 7,70000e+000 Currency: kr 8,00 kr 8,89 General: 9 9,9 Hexadecimal: 0000c DateTime formatting with F: 4. juli 2008 15:35:31 DateTime formatting with G: 04-07-2008 15:35:31 DateTime formatting with T: 15:35:31 |