33.33fmt.Sprintf("%.2f", v)floatTest
func main() {
        v := floatTest(30, 90)
        fmt.Println(v)
        // 33.33333333333333
        vv := fmt.Sprintf("%.2f", v)
        fmt.Println(vv)
        // 33.33
}

func floatTest(count float64, total float64) float64 {
        return (count / total * 100)
}