Comparison (Conditional) Operators

These are used to compare two values. They are often called conditionals, because you are often testing the value of a variable and the comparison almost always results in a TRUE or FALSE. You then make a decision based on the truth of the condition.

  Visual Basic, ASP, VBScript, VBA Java, JSP, C++
Equality = ==
Inequality <> !=
Greater Than > >
Greater Than or Equal To >= >=
Less Than < <
Less Than or Equal To <= <=