Operator precedence

From Genesys Documentation
Revision as of 17:45, April 1, 2021 by Julie.munn@genesys.com (talk | contribs) (Published)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This topic is part of the manual Field Codes Reference Guide for version Current of Routing and Designer.


Learn about operator precedence in field codes.

Related documentation:

The Operator Precedence table lists all the operators that you can use in field-code formulas.

  • Unary operators are shown with [Unary] after their symbols.
  • The operators are listed in order of precedence, with operators of higher precedence above those of lower precedence.
  • Operators in the same row have the same precedence. If two operators of the same precedence are used in a formula, then they are computed left to right if they are binary, and right to left if they are unary.
  • You can write some operators using more than one symbol. In these cases, the alternatives are shown in parentheses.
Operator Precedence Table
Operator
+ [Unary], - [Unary]
^
*, /, Mod
+, -
< (LT), <= (LE), > (GT), >= (GE), = (==, EQ), <> (!=, NE)
Not (!) [Unary]
And (&&)
XOr
Or ({{!}}{{!}})
:
Retrieved from "https://all.docs.genesys.com/PEC-ROU/Current/FldCod/OpePre (2024-05-04 07:25:45)"
Comments or questions about this documentation? Contact us for support!