Format float with specified precision number

Report a typo

What will be the output of the following code snippet?

var f float32
f = 1.0 / 3.0
fmt.Printf("%.1f %.2f %.7f", f, f, f)
Select one option from the list
___

Create a free account to access the full topic