syntax:functions:rem
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
syntax:functions:rem [2017/12/23 09:01] – created dmitry | syntax:functions:rem [2021/07/31 21:02] – [Arguments] craigt | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== rem(number, number) ======= | + | ====== Rem(dividend, divisor) ====== |
+ | Category: | ||
- | returns the remainder of quotient of two numbers. | + | \\ |
+ | =====Description===== | ||
+ | This function | ||
- | ^ | + | \\ |
- | | rem(10,3) | + | =====Arguments===== |
+ | ^Argument^Type^Description^ | ||
+ | |dividend|Number|The value being divided.| | ||
+ | |divisor|Number | ||
+ | \\ | ||
+ | **Return value type: | ||
+ | \\ | ||
+ | =====Remarks===== | ||
+ | This function performs division much as the expression // | ||
- | See also: | + | \\ |
- | * [[syntax: | + | =====Examples===== |
+ | |||
+ | div(12,4) = 0 | ||
+ | div(15,3) = 0 | ||
+ | div(21,5) = 1 //Remainder only returned as a whole number | ||
+ | div(-14,5) = -4 //Remainder only returned as a whole number | ||
+ | |||
+ | \\ | ||
+ | ===== See also ===== | ||
+ | * [[syntax: |
syntax/functions/rem.txt · Last modified: 2021/08/11 15:32 by craigt