The MOD(a1,a2) function returns the remainder when the value of expression a1 is divided by the value of expression a2.
MOD(a1,a2) = a1 - int(a1/a2) * a2
Arguments
a1 |
Any valid function expression. |
a2 |
Any valid non-zero function expression. |
Cautions
The MOD function is generally discontinuous. Use this function expression with care when you are specifying force or motion input.