Function reference
Obtains the remainder (modulus) of a division operation.
Mod ( x, y )
Argument | Description |
x | The number you want to divide by y. |
y | The number you want to divide into x |
Data type: Number
Example 1
This expression returns 2
Mod(20, 6)
Example 2
This expression returns 1.5
Mod(25.5, 4)
Example 3
This expression returns 2.5
Mod(25, 4.5)
Last modified:
23 May 2021