Numeric Expressions

Kalipso - Developing - Form - Expressions - Numeric Expressions

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 Functions and all the Kalipso objects from where you can retrieve values (Global Variables, Controls and Local Variables). To use any of these items you just have to double-click it and it will be automatically added to the Expression.

Examples:

  • 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

Last updated