# ArraySum()

The sum of values in an array. If the array parameter value is
an empty array, returns zero.

```
ArraySum( array=array );
```

**Returns:** number

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| array | array | Yes | Name of an array |  |

# Examples

### Sum of values in an array

```cfml
numberArray = [10,99,27,72];

dump( arraySum(numberArray));

// member function
dump( numberArray.sum());
```







# Categories

[Arrays](../../categories/array.md)

# See Also

[array.sum()](../objects/array/sum.md)