Modulo (MOD)
- Last UpdatedJul 13, 2023
- 1 minute read
MOD is a binary operator that divides an integer quantity to its left by an integer quantity to its right. The remainder of the quotient is the result of the MOD operation. Example:
97 MOD 8 yields 1
63 MOD 5 yields 3