Modulo
Returns the remainder left over when one operand is divided by a second operand.
Description
Performs a modulo (remainder) operation between the 2 numbers passed as arguments. It always takes the sign of the dividend.
Examples
12 % 5 == 2
5.5 % 2 == 1.5
Inputs
- a (Number): First operand.
- b (Number): Second operand.
Outputs
- a mod b (Number): The result of the modulo operation.