Skip to content

Bars Specification 0.1.0 — Transform: ceil

Category: math · Since: 0.1.0

Rounds up to the nearest integer.

Rounds the numeric input up to the nearest integer. A non-numeric input is a soft failure (TypeMismatch) yielding null.

Input coercion: number

Arguments

None.

Arity: 0–0

Worked examples

{{ n | ceil }}

2
{{ n | ceil }}

-1

Full fixture: transforms/transform-ceil.json