+1 888 340 6572

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...")
 
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 ====
== Usage ==
<syntaxhighlight>Mod(Dividend,Divisor)</syntaxhighlight>  
<syntaxhighlight>Mod(Dividend, Divisor);</syntaxhighlight>  


Where: [[Dividend]] - a numerical expression
Where:  
 
:'''Dividend''' - a numerical expression.
              
              
[[Divisor]] - a numerical expression  
:'''Divisor''' - a numerical expression.
   
   
==== Example ====
== Example ==
<syntaxhighlight>Mod(25,7) will return a value of 4</syntaxhighlight>
<syntaxhighlight>Mod(25, 7);</syntaxhighlight>
Will return a value of 4.
   
   
[[Category:Math and Trig]]
[[Category:Math and Trig]]

Revision as of 06:16, 9 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.