Friday, 12 June 2015

math-related functions in Extjs


 In Extjs, we have some simple mathe related functions.


       

var numbers = [1, 2, 3, 4, 5];
Ext.min(numbers); //1
Ext.max(numbers); //5
Ext.sum(numbers); //15
Ext.mean(numbers); //3



       

No comments:

Post a Comment