Skip to main content

math.Ceil

Round up to nearest integer

math.Ceil(x: float64) -> float64

Arguments

NameType
xfloat64

Example

{{ math.Ceil(3.2) }}

Returns 4.