math.Ceil
Returns the least integer value greater than or equal to the given number.
Syntax
math.Ceil VALUE
Returns
float64
{{ math.Ceil 2.1 }} → 3
Hugo Documentation
Syntax
Returns
{{ math.Ceil 2.1 }} → 3