Pow10 returns 10**n, the base-10 exponential of n.
package main import ( "fmt" "math" ) func main() { c := math.Pow10(2) fmt.Printf("%.1f", c) }