%TAVG

<< Click to Display Table of Contents >>

Navigation:  Reference > Functions >

%TAVG

This function returns the sum of the contents of the cells divided by the number of cells in the argument.

Forms of use:

DW wvar = %TAVG(table[(part-id)]),

MT table(cell) = %TAVG(table[(part-id)]),

Any cells in the pickup table block with value U (undefined) are ignored completely. If all cells are undefined then the result is undefined.