Maptitude GISDK Help |
Computes the average value of the elements of an array.
value = avg(array my_array)
Argument |
Contents |
my_array |
An array of numbers |
A real number equal to the mean value of the elements of my_array.
Can also be called as Mean().
The array must contain numbers only. Other types, including null, are not allowed.
rslt = Avg({2, 4, 6, 8.0}) // rslt equals 5.0
Error Type |
Meaning |
Error |
The array contains values that are null or are not numbers |
Function |
Summary |
Computes the mean (average) of the elements of an array |
|
Computes the median of the elements of an array |
©2025 Caliper Corporation | www.caliper.com |