Calculation Block – Changing the Order of Precedence

The Calculation block defines an order of precedence for each operator to determine which operators (and the values on each side of the operator) are evaluated first. You can change this order by enclosing part of the equation in parenthesis. The following table lists the order of precedence for Calculation block operators.  

Operator

Priority Level

( )

1

ABS(input)

2

SQRT(input)

2

EXP(input)

2

LOG(input)

2

LOG10(input)

2

INT(input)

2

-

2

^

3

*

4

/

4

+

5

-

5

<

6

>

6