FEEL

round down

FEEL built-in function · FEEL numeric functions

round down(n, scale?)

Rounds towards zero at the given scale.

Parameters

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

Examples

round down(5.5)
round down(-5.5)

Edge cases and null handling

round down(1.999)

Truncates: everything after the scale is dropped.

Related functions

round up · floor

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