Operator Precedence Rules

  • Scroll to top of this topic Scroll to Top of Page

  • Print the current topic Print Topic

  • No expanding elements on this page Show/Hide Expanders

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)