PRODUCT

The PRODUCT function is a mathematical function that returns the product of a set of values (the result of value 1 multiplied by value 2 multiplied by value 3 multiplied by value 4 and so on). The product value is a real value.

Function Name

PRODUCT

Description

Returns the product of a set of values (the result of value 1 multiplied by value 2 multiplied by value 3 multiplied by value 4 and so on).

Arguments

PRODUCT(INTEGER or REAL, INTEGER or REAL, INTEGER or REAL...)

The set of values for the PRODUCT calculation consists of comma separated values. The values can be integers or real floating values—see Number (Integer or Real).

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

Returns

INTEGER or REAL depending on the data type of the inputs.

The result is the product of a set of values.

Example:

PRODUCT(2, 3, 4, 1)

The output is 24 (2X3X4X1).


Disclaimer

ClearSCADA 2017 R3