syntax:functions:div
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
syntax:functions:div [2021/07/31 20:25] – craigt | syntax:functions:div [2021/08/11 15:16] (current) – [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 21: | Line 21: | ||
=====Examples===== | =====Examples===== | ||
- | div(12, | + | div(12, |
- | div(15, | + | |
- | div(21, | + | div(15, |
- | div(-14, | + | |
+ | div(21,5) //Returns 4 (Decimal portion (remainder) is not returned) | ||
+ | |||
+ | div(-14, | ||
\\ | \\ |
syntax/functions/div.txt · Last modified: 2021/08/11 15:16 by craigt