ROPE Language Reference - "mod"

Calculates the modulus of two numbers. This is the remainder of an integer division.

Mod divides the top item on the stack into the previous one and pushes back the remainder.

 10 5 mod       # -- prints: 0

See Also

add, sub, div, mult