Mod: Difference between revisions
From MultiCharts
m
no edit summary
(Created page with "Returns the remainder from dividing one specified numerical expression by another. ==== Usage ==== <syntaxhighlight>Mod(Dividend,Divisor)</syntaxhighlight> Where: [[Divid...") |
mNo edit summary |
||
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]] |