Collabora Office 21.06 Help
兩個數值相減。
Result = Expression1 - Expression2
Result:包含相減結果的任意數值型表示式。
Expression1、Expression2:要進行減法運算的任意數值型表示式。
Sub ExampleSubtraction1
Print 5 - 5
End Sub
Sub ExampleSubtraction2
Dim iValue1 As Integer
Dim iValue2 As Integer
iValue1 = 5
iValue2 = 10
Print iValue1 - iValue2
End Sub