mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
18 lines
333 B
Markdown
18 lines
333 B
Markdown
|
---
|
||
|
title: math.Ceil
|
||
|
description: Returns the least integer value greater than or equal to the given number.
|
||
|
categories: []
|
||
|
keywords: []
|
||
|
action:
|
||
|
aliases: []
|
||
|
related:
|
||
|
- functions/math/Floor
|
||
|
- functions/math/Round
|
||
|
returnType: float64
|
||
|
signatures: [math.Ceil VALUE]
|
||
|
---
|
||
|
|
||
|
```go-html-template
|
||
|
{{ math.Ceil 2.1 }} → 3
|
||
|
```
|