How can we help you?

Comparison operators compare two values. You can compare any type of data, including numbers, dates, and character strings.

The comparison result can either be:

True: The expression is true.

False: The expression is false.

Comparison operator

Meaning

Example

=

Equal to

=6=6

>

Greater than

=9>17

<

Less than

=A2<C3

>=

Greater than or equal to

=0>=6

<=

Less than or equal to

=P12<=7

<>

Not equal to

=3<>4

Was this helpful?
Yes
No
Previous
Arithmetic operators
Next
Text concatenation operator