Format |
|
MOD(a,b) |
|
Description |
|
The MOD function returns the remainder when a is divided by b. MOD(a,b) = a - int(a/b) * b |
|
Example |
|
The example below eliminates full rotations from the angle AX(22,11) |
|
<Reference_Variable id = "1" label = "Modulo Example" type = "EXPRESSION" expr = "MOD(AX(22,11),2*PI)" /> |
|
Arguments |
|
a |
Any valid function expression. |
b |
Any valid function expression that does not evaluate to zero |
Comments |
|
The MOD function is discontinuous; be very careful when using it. |
See Also: