Sum Function
Description:
The sum of a list of numbers.
Returns:
Number
Parameter:
Parameter | Data Type | Description |
|---|---|---|
1 | Number* | The list. |
Examples:
When using functions inside a field, remember the field brackets:
{Sum(VariableName)}
Note that to sum repeated values, use the collect function to create the list:
{Sum(Collect(CustomisationDescription)}
Expression | Result |
|---|---|
Sum( List(1.5,2.5,3.5,4) ) | 11.5 |
Sum( List() ) | 0 |