"*" Operator

Multiplies two values.

Syntaks


Result = Expression1 * Expression2

Parameter

Result: Any numeric expression that records the result of a multiplication.

Expression1, Expression2: Any numeric expressions that you want to multiply.

Eksempel:


Sub ExampleMultiplication1
    Print 5 * 5
End Sub
 
Sub ExampleMultiplication2
Dim iValue1 As Integer
Dim iValue2 As Integer
    iValue1 = 5
    iValue2 = 10
    Print iValue1 * iValue2
End Sub

Supporter oss!