syntax:functions:div
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revisionNext revision | |||
— | syntax:functions:div [2021/07/31 20:25] – craigt | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Div(dividend, | ||
+ | Category: | ||
+ | |||
+ | \\ | ||
+ | =====Description===== | ||
+ | This function returns the quotient of two numbers. | ||
+ | |||
+ | \\ | ||
+ | =====Arguments===== | ||
+ | ^Argument^Type^Description^ | ||
+ | |dividend|Number|The value being divided.| | ||
+ | |divisor|Number, | ||
+ | \\ | ||
+ | **Return value type: | ||
+ | |||
+ | \\ | ||
+ | =====Remarks===== | ||
+ | This function performs division much as the expression // | ||
+ | |||
+ | \\ | ||
+ | =====Examples===== | ||
+ | |||
+ | div(12,4) = 3 | ||
+ | div(15,3) = 5 | ||
+ | div(21,5) = 4 //Decimal portion (remainder) is not returned | ||
+ | div(-14,5) = -2 //Decimal portion (remainder) is not returned | ||
+ | |||
+ | \\ | ||
+ | ===== See also ===== | ||
+ | * [[syntax: | ||
syntax/functions/div.txt · Last modified: 2021/08/11 15:16 by craigt