Created
January 20, 2015 20:27
-
-
Save alloy-d/fdf0fcd4a69aa8d3f0f4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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" | |
| "math" | |
| ) | |
| func main() { | |
| str := fmt.Sprintf("%v", math.MaxUint64) | |
| fmt.Printf("MaxUint64 is %v.\n", math.MaxUint64) | |
| fmt.Printf("It is %d characters long.\n", len(str)) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment