articlesGetMaxPrice function
Implementation
double articlesGetMaxPrice(){
double _max = 0;
for (var item in productDataCache) {
var _price = item.price;
if (item.discPrice != 0)
_price = item.discPrice;
if (_price > _max)
_max = _price;
}
return _max;
}