Description
Calculates the average of the values in an array.
Returns
Number. If the array parameter value is an empty array, returns zero.
Category
Array functions, Mathematical functions
Function syntax
ArrayAvg(array) |
See also
ArraySum; Basic array techniques in the Developing ColdFusion Applications
Parameters
Parameter |
Description |
---|---|
array |
(Required) The array containing the values. |