<- CRPL reference <- Math Commands

mod

<-a <-b mod ->result

Description

Calculates the remainder of the two arguments and pushes the result on the stack.

Examples

ShowTraceLog
10 mod(6) Trace
# Displays 4