Syntax | (divide x y) → z |
---|---|
Arguments | 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. |
(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. Return to Functions list