"*" 运算符

两个数值相乘。

语法:


Result = Expression1 * Expression2

参数:

Result」: 记录相乘结果的任意数字表达式。

Expression1、Expression2」:要相乘的任意数字表达式。

示例:


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

请支持我们!