Difference between revisions of "Mod"
Jump to navigation
Jump to search
(→Usage) |
m (Reverted edits by 176.8.90.7 (talk) to last revision by JoshM) |
||
Line 1: | Line 1: | ||
Returns the remainder from dividing one specified numerical expression by another (i.e. the modulus). | Returns the remainder from dividing one specified numerical expression by another (i.e. the modulus). | ||
− | + | == Usage == | |
+ | <syntaxhighlight>Mod(Dividend, Divisor);</syntaxhighlight> | ||
+ | Where: | ||
+ | |||
+ | :'''Dividend''' - a numerical expression. | ||
+ | |||
+ | :'''Divisor''' - a numerical expression. | ||
+ | |||
== Example == | == Example == | ||
<syntaxhighlight>Mod(25, 7);</syntaxhighlight> | <syntaxhighlight>Mod(25, 7);</syntaxhighlight> |
Latest revision as of 13:12, 13 February 2012
Returns the remainder from dividing one specified numerical expression by another (i.e. the modulus).
Usage
Mod(Dividend, Divisor);
Where:
- Dividend - a numerical expression.
- Divisor - a numerical expression.
Example
Mod(25, 7);
Will return a value of 4.