Table of Contents

Calculate

The Calculate element can arithmetically manipulate Variables, whereby the I/O remains unmodified.

Usage

This Flow Control element can apply standard arithmetic onto a Variable. Furthermore, the modulo (%) and exponentiation (^) are implemented. Important to remember is that a calculation of a Variable of type decimal and a Variable of type integer returns an integer Variable.

To edit the formula fill in the field in the Properties window.

Example

Addition

Different types of Variables

Parameters and I/O

Input Description
FirstInput Input to be passed along
Output Description
FirstOutput Output which is not modified

Concept

Arithmetic Operators in Lua