Math.Ceil

Returns the rounded up to the next integer number.

Accepts the following parameters:

Parameter NameTypeDefault ValueNotes
valueSeries<Number>--

Returns: Series<Number>

Math.Ceil is a built-in function - you can use it directly. Below is an example implementation:

1
function Math.Ceil(value): value + (1 - value % 1 if value % 1 > 0 else 0)