Below is a table showing the hierarchy of operators with the highest precedence operator shown first.
Expressions inside parentheses are evaluated first; nested parentheses are evaluated from the innermost parentheses to the outer.
Operators in the same row in the chart have equal precedence
Operators |
Type |
Order of Evaluation |
( ) |
Parentheses |
left to right |
- + |
Unary minus and plus |
right to left |
* / % |
Multiplicative |
left to right |
+ - |
Additive |
left to right |
& |
Concatenation |
left to right |
< > <= >= |
Relational |
left to right |
= <> |
Equality |
left to right |
See also: