"-" Operator

Resta dos valores.

Sintaxis:


Result谩u = Espresi贸n1 - Espresi贸n2

Par谩metros:

Resultancia: Cualquier espresi贸n numb茅rica que contenga la resultancia de restar.

Espresi贸n1, Espresi贸n2: Cualquier espresi贸n numb茅rica que se desee restar.

Exemplu:


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

Please support us!