series_ceiling()

Calculates the element-wise ceiling function of the numeric series input.

Syntax

series_ceiling(series)

Learn more about syntax conventions.

Parameters

Name Type Required Description
series dynamic ✔️ An array of numeric values over which the ceiling function is applied.

Returns

Dynamic array of the calculated ceiling function. Any non-numeric element yields a null element value.

Example

print s = dynamic([-1.5,1,2.5])
| extend s_ceiling = series_ceiling(s)

Output

s s_ceiling
[-1.5,1,2.5] [-1.0,1.0,3.0]