Operator Priority Table

The following table combines all three types of operators--arithmetic, logical, and relational--into a single table showing their relative priority rankings.

Priority Level

Operator(s)

Highest

#NOT#   - (negation)

 

^

 

*   /

 

+   -

 

#EQ#   #NE#   #GT#   #GE#   #LT#   #LE#

 

#AND#   #OR#

Lowest

<=   =   >=