Part | Description | |
result | Required; any numeric variable. | |
number1 | Required; any numeric expression. | |
number2 | Required; any numeric expression. |
If | Then result is |
Multiplication involves a Single and a Long, | converted to a Double. |
The data type of result is a Long, Single, or Date variant that overflows its legal range, | converted to a Variant containing a Double. |
The data type of result is a Byte variant that overflows its legal range, | converted to an Integer variant. |
the data type of result is an Integer variant that overflows its legal range, | converted to a Long variant. |
Dim MyValue
MyValue = 2 * 2 ' Returns 4.
MyValue = 459.35 * 334.90 ' Returns 153836.315.