2.5.4.104 Sum

The Sum function performs the sum calculation.

ABNF:

 Sum = val *val sp unsigned-integer-value ";SUM():129"

Required Arguments:

Name: Arg1

Type: vDouble

An argument that specifies the first operand of the calculation.

Optional Arguments:

Zero or more subsequent operands of type vDouble.

Return Value:

Type: vNum

This function returns a vNum containing the sum of all operands. If any of the arguments is a vUnitType, the unit of the return value is equal to the unit of the first argument that is a vUnitType. Otherwise, the function returns a PtgNum.