Numeric Expressions
Kalipso - Developing - Form - Expressions - Numeric Expressions
Last updated
Was this helpful?
Kalipso - Developing - Form - Expressions - Numeric Expressions
Last updated
Was this helpful?
Numeric Expressions return a numeric value and each part of the expression is evaluated as a numeric value. The calculation is executed linearly; no operator has priority over the others. To define priority you can use brackets (“(“).
When editing an Expression of this type, you have available and all the Kalipso objects from where you can retrieve values (, and ). To use any of these items you just have to double-click it and it will be automatically added to the Expression.
Example 1
4 * 2 / 3 Result: 2
Example 2
4 * (2 / 3) Result: 2.666
Example 3
1 + 1 * 2 / 3 Result: 1.333
Example 4
1 + ((1 * 2) / 3) Result: 2.5