show / hide menu

FindAvg

This Function is used to Get the average of the values from mentioned collection control.

Syntax:
FindAvg(ControlName, IsFromSelectedValues)
where
ControlName : Name of the collection control
IsFromSelectedValues :True means to find average of selected values. Default is false.


Example:
txtautocompletestatic.Value=FindAvg(AutoCompleteTextBox1)
Average of all values in AutoCompleteTextBox1 is displayed in txtautocompletestatic.