Contents
Display Legacy Contents

 Print
    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.

     
Example 1   Example 2
4 * 2 / 3

Result: 2
  4 * (2 / 3)

Result:
 2.666

Example 3   Example 4
1 + 1 * 2 / 3

Result: 1.333
  1 + ((1 * 2) / 3)

Result: 2.5

See also
 
Updated: 11/16/2012 4:39 PM