Desktop User Guides > Quota Setup > Expression quotas > Defining expression quotas > Advanced expressions > Operator precedence in expression quotas
 
Operator precedence in expression quotas
When there is more than one operator in an expression, they are evaluated in a set order, known as the order of precedence. The order of precedence, in evaluation order, is as follows:
not
multiplication and division
addition and subtraction
comparison operators
And and Or
When operators are at the same level of precedence, they are simply evaluated from left to right.
You can override the order of precedence by using parentheses. Operators that are within parentheses are evaluated before operators that are not contained within parentheses. However, when more than one operator is contained within parentheses, they are evaluated according to the normal order of precedence.
See also
Advanced expressions
Specifying expressions using the advanced method
Comparison operators in expression quotas
Logical operators in expression quotas
Functions
Arithmetic operators in expression quotas