Functions Documentation |
|
Name |
divide |
Syntax |
(divide x y) -> z |
Argument List |
x: The dividend of the two numbers.
y: The divisor of the two numbers. |
Returns |
z: The result of the two numbers divided with everything after the decimal point dropped. |
Category |
math
|
Description |
Returns the result of the two numbers divided and dropping everything after the decimal point. |
Example |
(divide 5 3)
This will return a 1.
(divide 5 2)
This will return a 2.
(divide 5 (add 1 1))
This will also return a 2. |
Comment |
Basic math function. If you hear the term integer division this is what that is referring too. |