Sum function

The Sum function determines the sum of values in the numeric node, sets of numeric nodes, or numbers in parameters.

Parameter: input, input ...

The numeric nodes to add. These can come from recurring or nonrecurring source nodes, the results of other functions, or values that you specify.

You cannot specify a default value (or constant) for the input parameters of this function but you can specify a variable with a default value and then pass that variable as an input parameter to this function.  For more information see Specifying Default Values for Functions that Allow Recurring Nodes as Input.

Attention: In the Mapping Editor, if you chain together a recurring source node, a function that does not support recurring nodes, and then map that result to this function, during run time you might get an unexpected result.  For more information see Limitations in Combining Other Math Functions or Literals
.

Returns: number

The total sum of all parameters. If any parameter is a nodeset, the total includes values for every node in the set. If any parameter is not a number or a numeric node set, returns NaN (not a number).




Feedback | Notices


Timestamp icon Last updated: Wednesday, 15 June 2016


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.doc/ref_Sum.html