Sum()
Summary
Computes the sum of an array of numbers.
Syntax
total = Sum(array input_array)
| Argument | Contents |
|---|---|
| input_array | An array of numbers |
Returns
A real number that is the sum of all the values in input_array.
Notes
The array must contain numbers only. Other types, including null, are not allowed.
Error Codes
| Error Type | Meaning |
|---|---|
| Error | The array contains values that are null or are not numbers |
See Also
| Function | Summary |
|---|---|
| Avg() | Computes the average value of the elements of an array |