mod
The modulo operation.
Syntax
-
mod(a, b)-
aandb ≠ 0are integers
-
-
mod(x, y)-
xandy ≠ 0are real numbers
-
Description
If a and b ≠ 0 are numbers, then mod(a, b) = a − ⌊a / b⌋⋅b.
The modulo operation.
mod(a, b)
a and b ≠ 0 are integers
mod(x, y)
x and y ≠ 0 are real numbers
If a and b ≠ 0 are numbers, then mod(a, b) = a − ⌊a / b⌋⋅b.