Device Monitoring Studio Documentation Advanced Features Protocol Binding Language Reference Expressions Overview () Expression Grouping Operator
Expression grouping operator allows you to change the precedence rules of operators in an expression.
Syntax:
(exp)
The following code fragment illustrates the use of the expression grouping operator:
2 + 3 * 4 - 7 // evaluates to 7
2 + 3 * (4 - 7) // evaluates to -7
You can use parenthesis whenever you need to change the precedence of operators or increase the readability of the expression.