modulo
function, since version 1.0.0
categories: math
modulo(a, b)
Returns remainder after division of one number by another. a % b
is the same as modulo(a, b)
parameters
- a: [number, currency] - left operand
- b: [number, currency] - right operand
return type
number
example
modulo(10, 3)
modulo(10, 2)
returns
1
0