|
|
|
Aspen Graphics 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 the algebraic order of operation
|
Operator |
Operation |
Order of Evaluation |
|
^ |
Exponentiation |
1 |
|
- |
Negative |
2 |
|
+ |
Positive |
2 |
|
* |
Multiplication |
3 |
|
/ |
Division |
3 |
|
MODULO |
Modulus |
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 |
|
AND |
Boolean AND |
NA |
|
OR |
Boolean OR |
NA |
|
| |
Or |
Used in formula writing to separate string directives. |