Last active
October 2, 2017 18:47
-
-
Save inancgumus/c34799d6984f21cfc0700871155c93a8 to your computer and use it in GitHub Desktop.
age of universe correct example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
) | |
func main() { | |
// still not a good way to define a variable like this. we will see it. | |
var ageOfUniverse uint64 = 14e9 // 14e9 = 14 and 9 zeros which is 14 billions | |
fmt.Printf("`ageOfUniverse` is %d.\n", ageOfUniverse) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment