1 2 3 4 5 6 7 8
package primitives import "fmt" // Format float func Ff(num interface{}) string { return fmt.Sprintf("%.1f", num) }