JS.7 CALC Object Functions

The CALC object contains implementations of Excel-like spreadsheet functions. All these functions are static and can be used without an instance of the CALC object.

var avg = CALC.average([1,2,3]);

Many functions include an optional parameter “Basis”. Basis indicates the type of day-counting to use. Default 0 = US 30/360; 1 = Actual/actual; 2 = Actual/360; 3 = Actual/360; 4 = European 30/360.

<< tan(number) © 1996-2013 InetSoft Technology Corporation (v11.5) JS.7.1 Date and Time Functions >>