Width + Precision (*.*) width fmt.Printf("%*v", 9, 42) // denoted by * precision fmt.Printf("%.*v", 2, 42.77777) // denoted by the wildcard after . -> 42.78