Created
May 3, 2012 15:49
-
-
Save epequeno/2586709 to your computer and use it in GitHub Desktop.
golang string formatting
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() { | |
fmt.Println("The value of Pi is %1.3f", math.Pi) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment