Sum

This function sums a list of numbers.

Description

Sum a non-empty list of numbers.

Type

NUMERIC

Arguments

Type

Meaning

1

LIST{NUMERIC}

a list of numeric values.

Evaluation

The numbers in the input list are added up, the total is returned.

Mathematical Expression

 

Comments

If the input list is empty, one of the items in the list is not NUMERIC, or the unit types of items in the list are incompatible, this function aborts the run with an error.

 
Sum({1.0 [cfs], 2.0 [cms]})
 
71.629333443 "cfs"