User Tools

Site Tools


crpl:docs:mod

<- CRPL reference <- Math Commands

mod

ArgumentsResultNotation
Two items on the stackThe division remainder of two items n1 n2 – n3

Description

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

Examples

ShowTraceLog
10 mod(6) Trace
# Displays 4
crpl/docs/mod.txt · Last modified: 2021/02/05 11:43 by Karsten75