Divide
Syntax
Divide(number1|number2|dec=dec_places)
Description
Use the Divide function to perform division. Decimals and negative numbers are supported. Optionally specify the number of decimal places.
Parameters
| Parameter | Description |
|---|---|
|
number1 |
The dividend. |
|
number2 |
The quotient. |
|
dec=dec_places |
(Optional) The number of decimal places. The maximum is 10. The default is zero. Note that "dec=" must be included in the parameter. |
Returns
The result of dividing number1 by number2 rounded to dec=dec_places decimals.
Example
The following table presents examples of using the Divide function:
| Expression | Result |
|---|---|
|
Divide(75| 13.5) |
6 |
|
Divide(-75| 13.5| dec=5) |
-5.55556 |