#stat_average gives total rather than average

Hi



I am using dhtmlxGrid v.2.0 Professional edition build 81009/81107

The #stat_average is giving total rather than average.

#stat_min and #stat_max work ok.



Problem confirmed for situations when number formatting was applied to the column.
Please use attached js file instead of original one.

dhtmlxgrid_filter.zip (4.16 KB)

Thanks that works