Order of Operations | ||
---|---|---|
Level | Operators | Category/Description |
1 | ( ) | Grouping |
2 | ^ | Exponent |
3 | - | Unary Minus |
4 | * / \ | Multiplication and Division |
5 | % | Integer Remainder (Mod) |
6 | + - | Addition, Concatenation, and Subtraction |
7 | < <= > >= = <> | Comparison (Numeric and String) |
8 | NOT | Unary Not |
9 | AND | Logical And |
10 | OR | Logical Or |
11 | XOR | Logical Exclusive Or |