Framework:MOD: Difference between revisions
From CoPlanner 11
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
<span {{CoPFormel}}>MOD(<Number 1>, <Number 2>)</span> | <span {{CoPFormel}}>MOD(<Number 1>, <Number 2>)</span> | ||
{| class="wikitable" width="80%" | {| class="wikitable" width="80%" | ||
| Line 15: | Line 14: | ||
|Numeric Expression | |Numeric Expression | ||
|} | |} | ||
This function belongs to [[:Category:Functions_-_client-side|client-side functions]]. | |||
==Result== | ==Result== | ||
The modulus, or remainder, operator divides number1 by number2 and returns only the remainder. | The modulus, or remainder, operator divides number1 by number2 and returns only the remainder. | ||
== | ==Example== | ||
<span {{CoPFormel}}>MOD(14, 4)</span><br> | <span {{CoPFormel}}>MOD(14, 4)</span><br> | ||
The Expression 14 Mod 4 returns 2. | The Expression 14 Mod 4 returns 2. | ||
Latest revision as of 08:49, 24 May 2012
Function
MOD(<Number 1>, <Number 2>)
| Parameter | Description |
| Number 1 | Numeric Expression |
| Number 2 | Numeric Expression |
This function belongs to client-side functions.
Result
The modulus, or remainder, operator divides number1 by number2 and returns only the remainder.
Example
MOD(14, 4)
The Expression 14 Mod 4 returns 2.