LOTUSSCRIPT LANGUAGE


Multiplication operator
Multiplies two numbers.

Syntax

numExpr1 * numExpr2

Elements

numExpr1, numExpr2


Return value

The result is a value whose data type is generally the same as that of the operand whose data type is latest in this ordering: Integer, Long, Single, Currency, Double. For example, if one operand is a Double and the other is a Long, then the data type of the result is Double.

The exceptions are:


Example

Dim x As Integer
x% = 2 * 3
Print x% * 3.4               ' Prints 20.4

See Also