ceiling

FEEL built-in function · Numeric functions

ceiling(n, scale?)

Rounds towards positive infinity at the given scale.

Parameters

ParameterTypeDescription
nnumberthe number to round up
scalenumberdecimal digits to keep (optional, default 0)

Examples

ceiling(1.5)
ceiling(-1.56, 1)

Related functions

floor · round up

Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).