summaryrefslogtreecommitdiffstats
path: root/docs/content/en/functions/math/Round.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/functions/math/Round.md')
-rw-r--r--docs/content/en/functions/math/Round.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/content/en/functions/math/Round.md b/docs/content/en/functions/math/Round.md
new file mode 100644
index 000000000..e0678eb78
--- /dev/null
+++ b/docs/content/en/functions/math/Round.md
@@ -0,0 +1,17 @@
+---
+title: math.Round
+description: Returns the nearest integer, rounding half away from zero.
+categories: []
+keywords: []
+action:
+ aliases: []
+ related:
+ - functions/math/Ceil
+ - functions/math/Floor
+ returnType: float64
+ signatures: [math.Round VALUE]
+---
+
+```go-html-template
+{{ math.Round 1.5 }} → 2
+```