TCC-RT > Variables & Functions > Functions > @AVERAGE
@AVERAGE

<< Click to Display Table of Contents >>

Navigation:  TCC-RT > Variables & Functions > Functions >

@AVERAGE

@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