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.

Examples

trace(5 3 mod) #prints '2'

See Also

  • mod2 for a different treatment of negative numbers,

Index

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