|
|||||
operator | modulo | ||||
Summary |
Numeric
The remainder. |
numeric-expression modulo numeric-expression
Implements the operation of calculating the modulus of a number with respect to a base value. The modulus is the remainder you get if you divide the number by the base value.
Usage example:
local counter seconds local counter minutes local counter hours local counter days ... set minutes to seconds / 60 set seconds to seconds modulo 60 set hours to minutes / 60 set minutes to minutes modulo 60 set days to hours / 24 set hours to minutes modulo 24
---- |