Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_arravg() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_ARRAVG()

 DESCRIPTION

 C_ARRAVG() returns the average of all defined elements in the
 specified array.

 SYNTAX

 C_ARRAVG(array)

 PARAMETERS

 array (A) is the array to calculate the average for each defined
 element.  The array argument is specified without quotes.

 RETURNS

 C_ARRAVG() returns the average as a numeric.

 EXAMPLES

 private arr1[4]
 arr1[1] = 25
 arr1[2] = 50
 arr1[3] = 75
 arr1[4] = 100

 ? c_arravg(arr1) --> 62.5


See Also: C_ARRSUM() C_ARRCT() C_ARRMIN() C_ARRMAX() C_ARRSTR()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson