Mod Command
From GeoGebraWiki
Syntax: mod[number a, number b]
Action: returns the remainder when a is divided by b
Notes:
- The sign of the result has the same sign as the number a.
- Examples: mod[5,3]=2 mod[-5,3]=-2 mod[5,-3]=2 mod[-5,-3]=-2
- The sign of the result varies in other programming environments.
- mod[a,0] is undefined
Go to:
