FEEL

round up

FEEL built-in function · FEEL 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)

Edge cases and null handling

round up(1.001)

Any fraction rounds away from zero.

Related functions

round down · ceiling

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