LibreOffice 25.2 Help
Subtracts two values.
Result = Expression1 - Expression2
Result: A numeric variable that will contain the result of the subtraction.
Expression1, Expression2: Numeric expressions that you want to subtract.
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