Gomathmath.Round

Returns the nearest integer, rounding half away from zero.

문법

math.Round(x float64) float64