modulo

FEEL built-in function · Numeric functions

modulo(dividend, divisor)

Returns the remainder of the division. The result has the sign of the divisor.

Parameters

ParameterTypeDescription
dividendnumberthe value to divide
divisornumberthe divisor, must not be 0

Examples

modulo(12, 5)
modulo(-12, 5)

Related functions

abs · even · odd

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