Multiplies two numbers.
number1 * number2
The result is the product of number1 and number2
Byte, Short, Integer, Long, Single, Double, Decimal
The data type of the result is the same as that of the data type with the greatest range. The order of range, from least to greatest range, is Byte, Short, Integer, Long, Single, Double, and Decimal.
If an expression is stated as Nothing, or is Empty, it is treated as zero.
This example uses the * operator to multiply two numbers. The result is the product of the two operands.
Dim myValue As Double myValue = 2*
2 ' Returns 4. myValue = 459.35*
334.90 ' Returns 153836.315.
*= Operator | Arithmetic Operators | Operator Precedence in Visual Basic | Operators Listed by Functionality |