Function sum( array )
- Description:
-
Returns the sum of all the non-blank elements in the array.
If
array
is not a numeric array, null
is returned.
- Parameters:
-
- array (Object)
- array of numbers
- Return Value (floating point):
- sum of all the numeric values in
array
- Signature:
- double sum(Object)