Operator precedence
Expressions are evaluated according to the hierarchy of operators.
| 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 |
Parent topic: Operators