Description
Returns the arithmetic mean of all numeric values in a specified array. Non-numeric elements are ignored in both the sum and the count. Returns 0 for an empty array. Useful for evaluating team averages, balancing scores, or smoothing sampled data over time.
Snippet
Array Average(Global.HealthSamples);
Properties
Returns: Number
Parameters: Array
Array
Type: Array, Default: Empty Array
The array of numeric values to average.