Debian Codegraph @

docs/content/en/functions/math/Round.md

raw
1 ---
2 title: math.Round
3 description: Returns the nearest integer, rounding half away from zero.
4 categories: []
5 keywords: []
6 params:
7 functions_and_methods:
8 aliases: []
9 returnType: float64
10 signatures: [math.Round VALUE]
11 ---
12
13 ```go-html-template
14 {{ math.Round 1.5 }} → 2
15 ```