AKD BASIC User Guide | 6 AKD BASIC Parameters, Operators, Statements
6.2.1 MOD
General Information
Type Operator
Description
This is the modulus or "remainder" operator. It divides one number by another
and returns the remainder.
Syntax
x = y MOD z
Instructions
This MOD operator is only used in numeric expressions.
Example
Print 19 MOD 5 'prints: 4
Kollmorgenâ„¢ | March 30, 2012 122