Merge pull request #29 from Knorkebrot/master

Remove trailing whitespace, add missing newline
This commit is contained in:
Mark McGranaghan 2012-11-17 06:35:02 -08:00
commit c6b39fbc72
2 changed files with 24 additions and 23 deletions

View File

@ -50,7 +50,7 @@ func main() {
// There are also several formatting options for
// floats. For basic decimal formatting use `%f`.
fmt.Printf("%f", 78.9)
fmt.Printf("%f\n", 78.9)
// `%e` and `%E` format the float in (slightly
// different versions of) scientific notation.

View File

@ -8,12 +8,13 @@ true
1110
!
1c8
78.9000001.234000e+08
78.900000
1.234000e+08
1.234000E+08
"string"
"\"string\""
6865782074686973
0x42134100
0x42135100
| 12| 345|
| 1.20| 3.45|
|1.20 |3.45 |