Creates a new XDecimal object that is the product of two XDecimal objects.
Method of XDecimal, XDecimalHI
Syntax
mul(2.2, 4.4)
Parameters
Parameter | Description |
---|---|
Value1 | An XDecimal or XDecimalHI number that will be multiplied by Value2 (see below). |
Value2 | An XDecimal or XDecimalHI number that will be multiplied by Value1 (see above). |
Description
A new XDecimal or XDecimalHI object is created with a value of the product of Value1 and Value2.
Examples
The following illustrates how to use Global MetaScript to multiply two values and display the results in alert boxes.