Finmark Example using the "Mod" Formula Function
Mod
Mod(x, m)
returns x
modulo m
.
See
Examples
>> Mod(14, 6) 2 >> Mod(-3, 4) 1 >> Mod(-3, -4) -3
The argument 0 should be nonzero
>> Mod(5, 0) Mod(5, 0)
Mod
Mod(x, m)
returns x
modulo m
.
See
>> Mod(14, 6) 2 >> Mod(-3, 4) 1 >> Mod(-3, -4) -3
The argument 0 should be nonzero
>> Mod(5, 0) Mod(5, 0)