Multiply
Syntax
Multiply(number1|number2[|dec=dec_places])
Description
Use the Multiply function to perform multiplication. Decimals and negative numbers are supported. Optionally specify the number of decimal places.
Parameters
| Parameter | Description |
|---|---|
|
number1 |
First factor. |
|
number2 |
Second factor. |
|
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 multiplying number1 by number2 rounded to dec=dec_places decimals.
Example
The following table presents examples of using Multiply function.
| Expression | Result |
|---|---|
|
Multiply(10.3| 13.45) |
139 |
|
Multiply(10.3| -13.45|dec=3) |
-138.535 |