(val float64)
| 65 | } |
| 66 | |
| 67 | func FloatToString(val float64) string { |
| 68 | float, _ := strconv.ParseFloat(fmt.Sprintf("%.2f", val), 64) |
| 69 | return strconv.FormatFloat(float, 'g', -1, 64) |
| 70 | } |
nothing calls this directly
no outgoing calls
no test coverage detected