Mod: Difference between revisions
From MultiCharts
(Created page with "Returns the remainder from dividing one specified numerical expression by another. ==== Usage ==== <syntaxhighlight>Mod(Dividend,Divisor)</syntaxhighlight> Where: [[Divid...") |
m (Reverted edits by 176.8.90.7 (talk) to last revision by JoshM) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Returns the remainder from dividing one specified numerical expression by another. | Returns the remainder from dividing one specified numerical expression by another (i.e. the modulus). | ||
== Usage == | |||
<syntaxhighlight>Mod(Dividend,Divisor)</syntaxhighlight> | <syntaxhighlight>Mod(Dividend, Divisor);</syntaxhighlight> | ||
Where: | Where: | ||
:'''Dividend''' - a numerical expression. | |||
:'''Divisor''' - a numerical expression. | |||
== Example == | |||
<syntaxhighlight>Mod(25,7) | <syntaxhighlight>Mod(25, 7);</syntaxhighlight> | ||
Will return a value of 4. | |||
[[Category:Math and Trig]] | [[Category:Math and Trig]] |
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.