show / hide menu

Avg

Returns the average of the numbers passed as the parameter. This function accepts n number of numeric parameters.

Syntax : Avg(Number Value1, Number Value2, …n )
Where
Number Value1, Value2 is n number of numeric parameters.

Examples :

textbox1.Value = Avg( 10, 20, 30, 15, 20 )
textbox1.Value = Avg( textbox2.Value, textbox3.Value, textbox4.Value )