syntax:functions:rem
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
syntax:functions:rem [2021/07/31 20:31] – craigt | syntax:functions:rem [2021/08/11 15:32] – [Examples] craigt | ||
---|---|---|---|
Line 10: | Line 10: | ||
^Argument^Type^Description^ | ^Argument^Type^Description^ | ||
|dividend|Number|The value being divided.| | |dividend|Number|The value being divided.| | ||
- | |divisor|Number, non-zero|The value the // | + | |divisor|Number |
\\ | \\ | ||
**Return value type: | **Return value type: | ||
Line 16: | Line 16: | ||
\\ | \\ | ||
=====Remarks===== | =====Remarks===== | ||
- | This function performs division much as the expression // | + | This function performs division much as the expression // |
\\ | \\ | ||
=====Examples===== | =====Examples===== | ||
- | div(12, | + | div(12, |
- | div(15, | + | |
- | div(21, | + | div(15, |
- | div(-14, | + | |
+ | div(21,5) //Returns 1 (Remainder only returned as a whole number.) | ||
+ | |||
+ | div(-14, | ||
\\ | \\ | ||
===== See also ===== | ===== See also ===== | ||
* [[syntax: | * [[syntax: |
syntax/functions/rem.txt · Last modified: 2021/08/11 15:32 by craigt