The operator precedence rules are shown in table 2. Operators that are part of the same group have equal precedence. Operators of equal precedence are evaluated in order from left to right.
Table 2. Operator precedence rules in ModelMuse formulas
Operators |
Precedence |
( ) |
first (highest) |
not, ^, ** |
second |
and, mod, div, *, / |
third |
or, xor, +, - |
fourth |
=, <>, >, <, >=, <= |
fifth (lowest) |