User Tools

Site Tools


4rpl:commands:mod

This is an old revision of the document!


Index

mod

<-a <-b mod ->result

Description

Perform integer division and returns the value (modulo) of the difference.

See mod2 for a different treatment of negative numbers,

Examples

trace(5 3 mod) #prints '2'

Index

4rpl/commands/mod.1611157222.txt.gz · Last modified: 2025/02/14 14:56 (external edit)