Siebel Developer's Reference > Operators, Expressions, and Conditions >

Operator Precedence


Precedence is the order in which Siebel Business Applications evaluate the various operators within a single expression. Operators with higher precedence are evaluated before operators with lower precedence. In addition, operators with equal precedence are evaluated left to right.

The levels of precedence for the various Siebel application operators are listed in Table 155. Lower level numbers indicate higher precedence.

Table 155. Operator Precedence Rules
Level
Operator

1

()

2

- (negation)

3

^ (exponentiation)

4

* (multiplication), / (division)

5

+ (addition), - (subtraction), NOT logical operator

6

AND logical operator

7

OR logical operator

8

=, <>, >, <, >=, <= comparison operators

You can alter the order of precedence within an expression by using parentheses. Siebel Business Applications evaluate the expression within the parentheses first, before evaluating the expression outside.

Siebel Developer's Reference Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices.