Array.Sum() Method

Top 

Description

Returns the sum of the elements in the array.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Method Signature

Array.Sum(

)

 

Return Value

Type:

number

 

Return the sum of the elements in the array.

 

Syntax

myVariable1 = myArray1.Sum();

 

See also

Array Object

Matrix, Array, and Variable Math Guide