Example #1
0
func round2(v float64) float64 {
	return float64(xmath.Round(v*100)) / 100
}
Example #2
0
func round(v float64) int {
	return xmath.Round(v)
}