math.Round
Returns the nearest integer, rounding half away from zero.
Syntax
math.Round VALUE
Returns
float64
{{ math.Round 1.5 }} → 2
Last updated:
March 5, 2025
:
content: Remove "related" array from function and method pages (2fcd21ee5)
Improve this page