mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
Merge commit '35dec7c96f7ee3eb17dd444f7067f0c776fb56ae'
This commit is contained in:
17
docs/content/en/functions/math/Round.md
Normal file
17
docs/content/en/functions/math/Round.md
Normal file
@@ -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
|
||||
```
|
Reference in New Issue
Block a user