round half up

FEEL built-in function · Numeric functions

round half up(n, scale?)

Rounds to the nearest value; ties round away from zero (the rounding most people learn in school).

Parameters

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

Examples

round half up(5.5)
round half up(-5.5)

Related functions

round half down · decimal

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