Fandom

Visual Basic Wiki

Operator: Minus

70pages on
this wiki
Add New Page
Talk0 Share

Usage: Edit

The minus Operator can be used to subtract the value of a variable from another variable For Example:

dim number1 as integer = 20
dim number2 as integer = 10
dim result as integer

result = number1-number2
messagebox.show("The answer to "number1.tostring" -"+number2.tostring=" = "result.tostring)

Operator: - Edit

Returns n1 - n2

Using Edit

n1 - n2

Thanks for starting the ball rlliong with this insight. Thanks for starting the ball rlliong with this insight.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.