The program evaluates formulas using standard algebraic rules: Expressions are evaluated from left to right. The expression in the inner-most set of parentheses is evaluated first. Operators are evaluated in their turn, according to algebraic order of operation:Mathematical Operators
Operator | Operation | Order of Evaluation |
^ | Exponentiation | 1 |
- | Negative | 2 |
+ | Positive | 2 |
* | Multiplication | 3 |
/ | Division | 3 |
+ | Addition | 4 |
- | Subtraction | 4 |
== | Equals | 5 |
!= | Not Equals | 5 |
> | Greater Than | 5 |
< | Less Than | 5 |
>= | Greater Than or Equal to | 5 |
<= | Less Than or Equal to | 5 |