- Name
-
Mod -- calculate remainder (V1.5)
- Synopsis
-
result = Mod(a, b)
- Function
-
This function calculates the remainder of the division
a
/ b
.
- Inputs
-
- a
- numerator
- b
- denominator
- Results
-
- result
- remainder of division
- Example
-
a = Mod(30, 4)
This returns 2 because 30 / 4 is 7 with a remainder of 2.
Show TOC