@AVERAGE[...] : Returns the average of a list of numbers. The average is returned as a double; you can adjust the decimal precision by running the result through @EVAL (or @INT).

 

Example:

 

echo %@average[1 3 6 8 10 13 15]

8.0