Subtraction Operator (-)

Addition Operator (+),And Operator,Assignment Operator (=),Concatenation Operator (&),Division Operator (/),Eqv Operator,Exponentiation Operator (^),Imp Operator,Integer Division Operator (\),Is Operator,Mod Operator,Multiplication Operator (*),Negation Operator (-),Not Operator,Operator Precedence,Or Operator,Subtraction Operator (-),Xor Operator Home home | Other Resources other resources | Advertise with us advertise | Link to us link to us | Contact us contact | Bookmark Us!
Google
 
Where can I find good Windows Web Hosting to host my VBScript Site?
You can find good Windows Hosting which support VBScript, ASP, ASP.Net,VisualStudio.Net and MSSQL at a very reasonable low monthly fee at EasyCGI.com and DiscountASP.Net

Subtraction Operator (-)

Finds the difference between two numbers or indicates the negative value of a numeric expression.

Syntax 1

result = number1-number2

Syntax 2

-number

Arguments

result

Any numeric variable.

number

Any numeric expression.

number1

Any numeric expression.

number2

Any numeric expression.

Remarks

In Syntax 1, the - operator is the arithmetic subtraction operator used to find the difference between two numbers. In Syntax 2, the - operator is used as the unary negation operator to indicate the negative value of an expression.

If one or both expressions are Null expressions, result is Null. If an expression is Empty, it is treated as if it were 0.


VBScriptOnline.com - Addition Operator (+),And Operator,Assignment Operator (=),Concatenation Operator (&),Division Operator (/),Eqv Operator,Exponentiation Operator (^),Imp Operator,Integer Division Operator (\),Is Operator,Mod Operator,Multiplication Operator (*),Negation Operator (-),Not Operator,Operator Precedence,Or Operator,Subtraction Operator (-),Xor Operator