SUM

The SUM function is a mathematical function that returns the total value of a set of values. The total value is a real value.

Function Name

SUM

Description

Returns the sum total of a set of input values.

Arguments

SUM(INTEGER or REAL, INTEGER or REAL, INTEGER or REAL...)

Where each:

  • INTEGER or REAL is a numerical expression that defines a value in the set of values. The values have to be separated by a comma.

For more information on integers and real values, see Number (Integer or Real).

There are SUM extensions for use with Data Grids and Data Sets (see below).

Returns

REAL

The sum total of a set of values.

Example:

SUM(2, 3, 4, 1)

The output is 10.


Disclaimer

ClearSCADA 2017 R3