FEEL

floor

FEEL built-in function · FEEL numeric functions

floor(n, scale?)

Rounds towards negative infinity at the given scale.

Parameters

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

Examples

floor(1.5)
floor(-1.56, 1)

Edge cases and null handling

floor(-1.5)

Towards negative infinity, so negative numbers move away from zero.

floor(null)

Related functions

ceiling · round down

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