Sum

 

Adds a number to another number and then assigns the result (the sum) to a variable.

 

Properties

Option

Description

First Value

Enter the integer, float, or date value that want to add to another value.

This must be a value that is provided as a literal preceded by =, or a variable of the correct type.

Second value

Enter the integer or float value to add to the first value.

This must be a value that is provided as a literal preceded by =, or a variable of the correct type.

Result

Enter an integer or float variable to store the result (the sum) of the addition. The latter is recommended if the result may not be a whole number.

If you enter a variable used in the first or second value, you will overwrite that variable's value with this result.

Exit Point

Exit Point

Description

Complete

This is taken when the action cell has executed.

Error

This is taken if an internal error occurred.

Summing Date Values

The action cell sums date elements. To avoid unexpected results, all fields using date elements should refer to the same date element.

The action cell normalises a date element during a sum operation. For example, adding 15 to the day element of 20 January 2021 element results in 4 February 2021. To understand how normalisation works in FLOW, see Normalisation of Date Variables.