round up

FEEL built-in function · Numeric functions

round up(n, scale?)

Rounds away from zero at the given scale.

Parameters

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

Examples

round up(5.5)
round up(-5.5)
round up(1.121, 2)

Related functions

round down · ceiling

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