summaryrefslogtreecommitdiffstats
path: root/docs/content/en/functions/math/Round.md
blob: 6bc015ce784081456b402a786571d95d511a0a93 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
title: math.Round
description: Returns the nearest integer, rounding half away from zero.
categories: []
keywords: []
params:
  functions_and_methods:
    aliases: []
    returnType: float64
    signatures: [math.Round VALUE]
---

```go-html-template
{{ math.Round 1.5 }} → 2
```