The modulus operator (%) yields the remainder given by the following expression, where e1 is the left operand and e2 is the right operand: e1 - (e1 / e2) * e2, where both operands are integer type.
Expression % Expression
> PRINT 5 % 2
1
> PRINT 10 % 7
3