Comparison Operators
Comparison Operators
Comparison operators compare two values and return a Boolen (true/false) value. These Operators are most commonly used in statements like If, Case and While.
| Comparison Operators | |||
|---|---|---|---|
| Operator | Name | Example | Comments |
| = | Equal | a = b | Returns true of two values are equal |
| < | Less Than | a < b | |
| > | Greater Than | a > b | |
| <= | Less Than or Equal | a <= b | |
| >= | Greatet Than or Equal | a >= b | |
| <> | Not Equal | a <> b |