Commit 02ed3a83 authored by GoshaZotov's avatar GoshaZotov

delete prototype.getInfo from all formulas

parent e65898f4
......@@ -362,11 +362,6 @@
this.value.numFormat = 14;
return this.value;
};
cDATE.prototype.getInfo = function () {
return {
name: this.name, args: "( year, month, day )"
};
};
/**
* @constructor
......@@ -483,11 +478,6 @@
}
};
cDATEDIF.prototype.getInfo = function () {
return {
name: this.name, args: "( start-date , end-date , unit )"
};
};
/**
* @constructor
......@@ -526,11 +516,6 @@
return this.value = new cError(cErrorType.wrong_value_type);
}
};
cDATEVALUE.prototype.getInfo = function () {
return {
name: this.name, args: "( date-time-string )"
};
};
/**
* @constructor
......@@ -600,11 +585,6 @@
new cNumber(( new Date((val - AscCommonExcel.c_DateCorrectConst) * c_msPerDay) ).getUTCDate()), 0);
}
};
cDAY.prototype.getInfo = function () {
return {
name: this.name, args: "( date-value )"
};
};
/**
* @constructor
......@@ -669,11 +649,6 @@
return this.value = new cNumber(days360(date1, date2, arg2.toBool()));
};
cDAYS360.prototype.getInfo = function () {
return {
name: this.name, args: "( start-date , end-date [ , method-flag ] )"
};
};
/**
* @constructor
......@@ -747,11 +722,6 @@
return this.value = new cNumber(Math.floor(( val.getTime() / 1000 - val.getTimezoneOffset() * 60 ) / c_sPerDay +
(AscCommonExcel.c_DateCorrectConst + 1)))
};
cEDATE.prototype.getInfo = function () {
return {
name: this.name, args: "( start-date , month-offset )"
};
};
/**
* @constructor
......@@ -816,11 +786,6 @@
return this.value = new cNumber(Math.floor(( val.getTime() / 1000 - val.getTimezoneOffset() * 60 ) / c_sPerDay +
(AscCommonExcel.c_DateCorrectConst + 1)));
};
cEOMONTH.prototype.getInfo = function () {
return {
name: this.name, args: "( start-date , month-offset )"
};
};
/**
* @constructor
......@@ -884,11 +849,6 @@
0);
}
};
cHOUR.prototype.getInfo = function () {
return {
name: this.name, args: "( time-value )"
};
};
/**
* @constructor
......@@ -951,11 +911,6 @@
return this.setCalcValue(new cNumber(val), 0);
}
};
cMINUTE.prototype.getInfo = function () {
return {
name: this.name, args: "( time-value )"
};
};
/**
* @constructor
......@@ -1023,11 +978,6 @@
c_msPerDay) ).getUTCMonth() + 1), 0);
}
};
cMONTH.prototype.getInfo = function () {
return {
name: this.name, args: "( date-value )"
};
};
/**
* @constructor
......@@ -1152,11 +1102,6 @@
}
return this.value = new cNumber((dif < 0 ? -1 : 1) * count);
};
cNETWORKDAYS.prototype.getInfo = function () {
return {
name: this.name, args: "( start-date , end-date [ , holidays ] )"
};
};
/**
* @constructor
......@@ -1190,11 +1135,6 @@
this.value.numFormat = 22;
return this.value;
};
cNOW.prototype.getInfo = function () {
return {
name: this.name, args: "()"
};
};
/**
* @constructor
......@@ -1257,11 +1197,6 @@
return this.setCalcValue(new cNumber(val), 0);
}
};
cSECOND.prototype.getInfo = function () {
return {
name: this.name, args: "( time-value )"
};
};
/**
* @constructor
......@@ -1319,11 +1254,6 @@
this.value.numFormat = 18;
return this.value;
};
cTIME.prototype.getInfo = function () {
return {
name: this.name, args: "( hour, minute, second )"
};
};
/**
* @constructor
......@@ -1363,11 +1293,6 @@
return this.value = new cError(cErrorType.wrong_value_type);
}
};
cTIMEVALUE.prototype.getInfo = function () {
return {
name: this.name, args: "( date-time-string )"
};
};
/**
* @constructor
......@@ -1388,11 +1313,6 @@
this.value.numFormat = 14;
return this.value;
};
cTODAY.prototype.getInfo = function () {
return {
name: this.name, args: "()"
};
};
/**
* @constructor
......@@ -1474,11 +1394,6 @@
return this.value = new cNumber(weekday[new Date((arg0.getValue() - (AscCommonExcel.c_DateCorrectConst + 1)) *
c_msPerDay).getUTCDay()]);
};
cWEEKDAY.prototype.getInfo = function () {
return {
name: this.name, args: "( serial-value [ , weekday-start-flag ] )"
};
};
/**
* @constructor
......@@ -1593,11 +1508,6 @@
new cNumber(WeekNumber(Date.prototype.getDateFromExcel(arg0.getValue()), weekdayStartDay, type));
};
cWEEKNUM.prototype.getInfo = function () {
return {
name: this.name, args: "( serial-value [ , weekday-start-flag ] )"
};
};
/**
* @constructor
......@@ -1719,11 +1629,6 @@
return this.setCalcValue(new cNumber(val), 14);
};
cWORKDAY.prototype.getInfo = function () {
return {
name: this.name, args: "( start-date , day-offset [ , holidays ] )"
};
};
/**
* @constructor
......@@ -1796,11 +1701,6 @@
0);
}
};
cYEAR.prototype.getInfo = function () {
return {
name: this.name, args: "( date-value )"
};
};
/**
* @constructor
......@@ -1864,11 +1764,6 @@
// return this.value = diffDate2( val0, val1, arg2.getValue() );
};
cYEARFRAC.prototype.getInfo = function () {
return {
name: this.name, args: "( start-date , end-date [ , basis ] )"
};
};
//----------------------------------------------------------export----------------------------------------------------
window['AscCommonExcel'] = window['AscCommonExcel'] || {};
......
......@@ -1080,11 +1080,6 @@
return this.value;
};
cBIN2DEC.prototype.getInfo = function () {
return {
name: this.name, args: "( number )"
};
};
/**
* @constructor
......@@ -1149,11 +1144,6 @@
return this.value;
};
cBIN2HEX.prototype.getInfo = function () {
return {
name: this.name, args: "( number [ , num-hex-digits ] )"
};
};
/**
* @constructor
......@@ -1218,11 +1208,6 @@
return this.value;
};
cBIN2OCT.prototype.getInfo = function () {
return {
name: this.name, args: "( number [ , num-hex-digits ] )"
};
};
/**
* @constructor
......@@ -1287,11 +1272,6 @@
return this.value;
};
cCOMPLEX.prototype.getInfo = function () {
return {
name: this.name, args: "( real-number , imaginary-number [ , suffix ] )"
};
};
/**
* @constructor
......@@ -1362,11 +1342,6 @@
return this.value;
};
cDEC2BIN.prototype.getInfo = function () {
return {
name: this.name, args: "( number [ , num-hex-digits ] )"
};
};
/**
* @constructor
......@@ -1425,11 +1400,6 @@
return this.value;
};
cDEC2HEX.prototype.getInfo = function () {
return {
name: this.name, args: "( number [ , num-hex-digits ] )"
};
};
/**
* @constructor
......@@ -1488,11 +1458,6 @@
return this.value;
};
cDEC2OCT.prototype.getInfo = function () {
return {
name: this.name, args: "( number [ , num-hex-digits ] )"
};
};
/**
* @constructor
......@@ -1540,11 +1505,6 @@
return this.value;
};
cDELTA.prototype.getInfo = function () {
return {
name: this.name, args: "( number-1 [ , number-2 ] )"
};
};
/**
* @constructor
......@@ -1597,11 +1557,6 @@
return this.value;
};
cERF.prototype.getInfo = function () {
return {
name: this.name, args: "( lower-bound [ , upper-bound ] )"
};
};
/**
* @constructor
......@@ -1636,11 +1591,6 @@
return this.value;
};
cERFC.prototype.getInfo = function () {
return {
name: this.name, args: "( lower-bound )"
};
};
/**
* @constructor
......@@ -1688,11 +1638,6 @@
return this.value;
};
cGESTEP.prototype.getInfo = function () {
return {
name: this.name, args: "( number [ , step ] )"
};
};
/**
* @constructor
......@@ -1764,11 +1709,6 @@
return this.value;
};
cHEX2BIN.prototype.getInfo = function () {
return {
name: this.name, args: "( number [ , num-hex-digits ] )"
};
};
/**
* @constructor
......@@ -1816,11 +1756,6 @@
return this.value;
};
cHEX2DEC.prototype.getInfo = function () {
return {
name: this.name, args: "( number )"
};
};
/**
* @constructor
......@@ -1891,11 +1826,6 @@
return this.value;
};
cHEX2OCT.prototype.getInfo = function () {
return {
name: this.name, args: "( number [ , num-hex-digits ] )"
};
};
/**
* @constructor
......@@ -1936,11 +1866,6 @@
return this.value;
};
cIMABS.prototype.getInfo = function () {
return {
name: this.name, args: "( complex-number )"
};
};
/**
* @constructor
......@@ -1981,11 +1906,6 @@
return this.value;
};
cIMAGINARY.prototype.getInfo = function () {
return {
name: this.name, args: "( complex-number )"
};
};
/**
* @constructor
......@@ -2026,11 +1946,6 @@
return this.value;
};
cIMARGUMENT.prototype.getInfo = function () {
return {
name: this.name, args: "( complex-number )"
};
};
/**
* @constructor
......@@ -2071,11 +1986,6 @@
return this.value;
};
cIMCONJUGATE.prototype.getInfo = function () {
return {
name: this.name, args: "( complex-number )"
};
};
/**
* @constructor
......@@ -2118,11 +2028,6 @@
return this.value;
};
cIMCOS.prototype.getInfo = function () {
return {
name: this.name, args: "( complex-number )"
};
};
/**
* @constructor
......@@ -2170,11 +2075,6 @@
return this.value;
};
cIMCOSH.prototype.getInfo = function () {
return {
name: this.name, args: "( complex-number )"
};
};
/**
* @constructor
......@@ -2225,11 +2125,6 @@
return this.value;
};
cIMCOT.prototype.getInfo = function () {
return {
name: this.name, args: "( complex-number )"
};
};
/**
* @constructor
......@@ -2281,11 +2176,6 @@
return this.value;
};
cIMCSC.prototype.getInfo = function () {
return {
name: this.name, args: "( complex-number )"
};
};
/**
* @constructor
......@@ -2337,11 +2227,6 @@
return this.value;
};
cIMCSCH.prototype.getInfo = function () {
return {
name: this.name, args: "( complex-number )"
};
};
/**
* @constructor
......@@ -2395,11 +2280,6 @@
return this.value;
};
cIMDIV.prototype.getInfo = function () {
return {
name: this.name, args: "( complex-number-1 , complex-number-2 )"
};
};
/**
* @constructor
......@@ -2442,11 +2322,6 @@
return this.value;
};
cIMEXP.prototype.getInfo = function () {
return {
name: this.name, args: "( complex-number )"
};
};
/**
* @constructor
......@@ -2493,11 +2368,6 @@
return this.value;
};
cIMLN.prototype.getInfo = function () {
return {
name: this.name, args: "( complex-number )"
};
};
/**
* @constructor
......@@ -2544,11 +2414,6 @@
return this.value;
};
cIMLOG10.prototype.getInfo = function () {
return {
name: this.name, args: "( complex-number )"
};
};
/**
* @constructor
......@@ -2595,11 +2460,6 @@
return this.value;
};
cIMLOG2.prototype.getInfo = function () {
return {
name: this.name, args: "( complex-number )"
};
};
/**
* @constructor
......@@ -2656,11 +2516,6 @@
return this.value;
};
cIMPOWER.prototype.getInfo = function () {
return {
name: this.name, args: "( complex-number, power )"
};
};
/**
* @constructor
......@@ -2758,11 +2613,6 @@
return this.value;
};
cIMPRODUCT.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -2803,11 +2653,6 @@
return this.value;
};
cIMREAL.prototype.getInfo = function () {
return {
name: this.name, args: "( complex-number )"
};
};
/**
* @constructor
......@@ -2854,11 +2699,6 @@
return this.value;
};
cIMSEC.prototype.getInfo = function () {
return {
name: this.name, args: "( complex-number )"
};
};
/**
* @constructor
......@@ -2905,11 +2745,6 @@
return this.value;
};
cIMSECH.prototype.getInfo = function () {
return {
name: this.name, args: "( complex-number )"
};
};
......@@ -2958,11 +2793,6 @@
return this.value;
};
cIMSIN.prototype.getInfo = function () {
return {
name: this.name, args: "( complex-number )"
};
};
/**
* @constructor
......@@ -3010,11 +2840,6 @@
return this.value;
};
cIMSINH.prototype.getInfo = function () {
return {
name: this.name, args: "( complex-number )"
};
};
/**
* @constructor
......@@ -3057,11 +2882,6 @@
return this.value;
};
cIMSQRT.prototype.getInfo = function () {
return {
name: this.name, args: "( complex-number )"
};
};
/**
* @constructor
......@@ -3115,11 +2935,6 @@
return this.value;
};
cIMSUB.prototype.getInfo = function () {
return {
name: this.name, args: "( complex-number-1 , complex-number-2 )"
};
};
/**
* @constructor
......@@ -3218,11 +3033,6 @@
return this.value;
};
cIMSUM.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -3270,11 +3080,6 @@
return this.value;
};
cIMTAN.prototype.getInfo = function () {
return {
name: this.name, args: "( complex-number )"
};
};
/**
* @constructor
......@@ -3346,11 +3151,6 @@
return this.value;
};
cOCT2BIN.prototype.getInfo = function () {
return {
name: this.name, args: "( number [ , num-hex-digits ] )"
};
};
/**
* @constructor
......@@ -3398,11 +3198,6 @@
return this.value;
};
cOCT2DEC.prototype.getInfo = function () {
return {
name: this.name, args: "( number )"
};
};
/**
* @constructor
......@@ -3467,9 +3262,4 @@
return this.value;
};
cOCT2HEX.prototype.getInfo = function () {
return {
name: this.name, args: "( number [ , num-hex-digits ] )"
};
}
})(window);
......@@ -630,12 +630,6 @@
res *= par * rate / frequency;
return this.value = new cNumber(res);
};
cACCRINT.prototype.getInfo = function () {
return {
name: this.name,
args: "( issue , first-interest , settlement , rate , [ par ] , frequency [ , [ basis ] ] )"
};
};
/**
* @constructor
......@@ -726,11 +720,6 @@
return this.value = new cNumber(res)
};
cACCRINTM.prototype.getInfo = function () {
return {
name: this.name, args: "( issue , settlement , rate , [ [ par ] [ , [ basis ] ] ] )"
};
};
/**
* @constructor
......@@ -924,11 +913,6 @@
return this.value;
};
cAMORDEGRC.prototype.getInfo = function () {
return {
name: this.name, args: "( cost , date-purchased , first-period , salvage , period , rate [ , [ basis ] ] )"
};
};
/**
* @constructor
......@@ -1060,11 +1044,6 @@
}
};
cAMORLINC.prototype.getInfo = function () {
return {
name: this.name, args: "( cost , date-purchased , first-period , salvage , period , rate [ , [ basis ] ] )"
};
};
/**
* @constructor
......@@ -1144,11 +1123,6 @@
return this.value = new cNumber(getcoupdaybs(settl, matur, frequency, basis));
};
cCOUPDAYBS.prototype.getInfo = function () {
return {
name: this.name, args: "( settlement , maturity , frequency [ , [ basis ] ] )"
};
};
/**
* @constructor
......@@ -1227,11 +1201,6 @@
return this.value = new cNumber(getcoupdays(settl, matur, frequency, basis));
};
cCOUPDAYS.prototype.getInfo = function () {
return {
name: this.name, args: "( settlement , maturity , frequency [ , [ basis ] ] )"
};
};
/**
* @constructor
......@@ -1310,11 +1279,6 @@
return this.value = new cNumber(getcoupdaysnc(new Date(settl), new Date(matur), frequency, basis));
};
cCOUPDAYSNC.prototype.getInfo = function () {
return {
name: this.name, args: "( settlement , maturity , frequency [ , [ basis ] ] )"
};
};
/**
* @constructor
......@@ -1395,11 +1359,6 @@
return this.value;
};
cCOUPNCD.prototype.getInfo = function () {
return {
name: this.name, args: "( settlement , maturity , frequency [ , [ basis ] ] )"
};
};
/**
* @constructor
......@@ -1480,11 +1439,6 @@
return this.value = new cNumber(res);
};
cCOUPNUM.prototype.getInfo = function () {
return {
name: this.name, args: "( settlement , maturity , frequency [ , [ basis ] ] )"
};
};
/**
* @constructor
......@@ -1567,11 +1521,6 @@
return this.value;
};
cCOUPPCD.prototype.getInfo = function () {
return {
name: this.name, args: "( settlement , maturity , frequency [ , [ basis ] ] )"
};
};
/**
* @constructor
......@@ -1689,11 +1638,6 @@
return this.value = new cNumber(ipmt);
};
cCUMIPMT.prototype.getInfo = function () {
return {
name: this.name, args: "( rate , nper , pv , start-period , end-period , type )"
};
};
/**
* @constructor
......@@ -1813,11 +1757,6 @@
return this.value = new cNumber(res);
};
cCUMPRINC.prototype.getInfo = function () {
return {
name: this.name, args: "( rate , nper , pv , start-period , end-period , type )"
};
};
/**
* @constructor
......@@ -1930,11 +1869,6 @@
return this.value;
};
cDB.prototype.getInfo = function () {
return {
name: this.name, args: "( cost , salvage , life , period [ , [ month ] ] )"
};
};
/**
* @constructor
......@@ -2025,11 +1959,6 @@
return this.value;
};
cDDB.prototype.getInfo = function () {
return {
name: this.name, args: "( cost , salvage , life , period [ , factor ] )"
};
};
/**
* @constructor
......@@ -2121,11 +2050,6 @@
return this.value;
};
cDISC.prototype.getInfo = function () {
return {
name: this.name, args: "( settlement , maturity , pr , redemption [ , [ basis ] ] )"
};
};
/**
* @constructor
......@@ -2189,11 +2113,6 @@
return this.value = new cNumber(res);
};
cDOLLARDE.prototype.getInfo = function () {
return {
name: this.name, args: "( fractional-dollar , fraction )"
};
};
/**
* @constructor
......@@ -2257,11 +2176,6 @@
return this.value = new cNumber(res);
};
cDOLLARFR.prototype.getInfo = function () {
return {
name: this.name, args: "( decimal-dollar , fraction )"
};
};
/**
* @constructor
......@@ -2362,11 +2276,6 @@
return this.value = new cNumber(getduration(settl, matur, coupon, yld, frequency, basis));
};
cDURATION.prototype.getInfo = function () {
return {
name: this.name, args: "( settlement , maturity , coupon , yld , frequency [ , [ basis ] ] )"
};
};
/**
* @constructor
......@@ -2417,11 +2326,6 @@
return this.value = new cNumber(Math.pow((1 + nominalRate / npery), npery) - 1);
};
cEFFECT.prototype.getInfo = function () {
return {
name: this.name, args: "( nominal-rate , npery )"
};
};
/**
* @constructor
......@@ -2509,11 +2413,6 @@
return this.value = new cNumber(res);
};
cFV.prototype.getInfo = function () {
return {
name: this.name, args: "( rate , nper , pmt [ , [ pv ] [ ,[ type ] ] ] )"
};
};
/**
* @constructor
......@@ -2570,11 +2469,6 @@
return this.value = new cNumber(princ);
};
cFVSCHEDULE.prototype.getInfo = function () {
return {
name: this.name, args: "( principal , schedule )"
};
};
/**
* @constructor
......@@ -2667,11 +2561,6 @@
return this.value;
};
cINTRATE.prototype.getInfo = function () {
return {
name: this.name, args: "( settlement , maturity , pr , redemption [ , [ basis ] ] )"
};
};
/**
* @constructor
......@@ -2773,11 +2662,6 @@
// this.value.numFormat = 9;
return this.value;
};
cIPMT.prototype.getInfo = function () {
return {
name: this.name, args: "( rate , per , nper , pv [ , [ fv ] [ , [ type ] ] ] )"
};
};
/**
* @constructor
......@@ -2909,11 +2793,6 @@
return this.value;
};
cIRR.prototype.getInfo = function () {
return {
name: this.name, args: "( values [ , [ guess ] ] )"
};
};
/**
* @constructor
......@@ -2981,11 +2860,6 @@
return this.value = new cNumber(pv.getValue() * rate.getValue() * (per.getValue() / nper.getValue() - 1));
};
cISPMT.prototype.getInfo = function () {
return {
name: this.name, args: "( rate , per , nper , pv )"
};
};
/**
* @constructor
......@@ -3090,11 +2964,6 @@
return this.value = new cNumber(duration);
};
cMDURATION.prototype.getInfo = function () {
return {
name: this.name, args: "( settlement , maturity , coupon , yld , frequency [ , [ basis ] ] )"
};
};
/**
* @constructor
......@@ -3204,11 +3073,6 @@
return this.value;
};
cMIRR.prototype.getInfo = function () {
return {
name: this.name, args: "( values , finance-rate , reinvest-rate )"
};
};
/**
* @constructor
......@@ -3263,11 +3127,6 @@
return this.value;
};
cNOMINAL.prototype.getInfo = function () {
return {
name: this.name, args: "( effect-rate , npery )"
};
};
/**
* @constructor
......@@ -3359,11 +3218,6 @@
return this.value = new cNumber(res);
};
cNPER.prototype.getInfo = function () {
return {
name: this.name, args: "( rate , pmt , pv [ , [ fv ] [ , [ type ] ] ] )"
};
};
/**
* @constructor
......@@ -3437,11 +3291,6 @@
return this.value = new cNumber(res);
};
cNPV.prototype.getInfo = function () {
return {
name: this.name, args: "( rate , argument-list )"
};
};
/**
* @constructor
......@@ -3579,12 +3428,6 @@
return this.value;
};
cODDFPRICE.prototype.getInfo = function () {
return {
name: this.name,
args: "( settlement , maturity , issue , first-coupon , rate , yld , redemption , frequency [ , [ basis ] ] )"
};
};
/**
* @constructor
......@@ -3788,12 +3631,6 @@
return this.value;
};
cODDFYIELD.prototype.getInfo = function () {
return {
name: this.name,
args: "( settlement , maturity , issue , first-coupon , rate , pr , redemption , frequency [ , [ basis ] ] )"
};
};
/**
* @constructor
......@@ -3927,12 +3764,6 @@
return this.value;
};
cODDLPRICE.prototype.getInfo = function () {
return {
name: this.name,
args: "( settlement , maturity , last-interest , rate , yld , redemption , frequency [ , [ basis ] ] )"
};
};
/**
* @constructor
......@@ -4067,12 +3898,6 @@
return this.value;
};
cODDLYIELD.prototype.getInfo = function () {
return {
name: this.name,
args: "( settlement , maturity , last-interest , rate , pr , redemption , frequency [ , [ basis ] ] )"
};
};
/**
* @constructor
......@@ -4165,11 +3990,6 @@
return this.value = new cNumber(res);
};
cPMT.prototype.getInfo = function () {
return {
name: this.name, args: "( rate , nper , pv [ , [ fv ] [ ,[ type ] ] ] )"
};
};
/**
* @constructor
......@@ -4273,11 +4093,6 @@
// this.value.numFormat = 9;
return this.value;
};
cPPMT.prototype.getInfo = function () {
return {
name: this.name, args: "( rate , per , nper , pv [ , [ fv ] [ , [ type ] ] ] )"
};
};
/**
* @constructor
......@@ -4389,11 +4204,6 @@
return this.value = new cNumber(getprice(settl, matur, rate, yld, redemption, frequency, basis));
};
cPRICE.prototype.getInfo = function () {
return {
name: this.name, args: "( settlement , maturity , rate , yld , redemption , frequency [ , [ basis ] ] )"
};
};
/**
* @constructor
......@@ -4484,11 +4294,6 @@
return this.value = new cNumber(res);
};
cPRICEDISC.prototype.getInfo = function () {
return {
name: this.name, args: "( settlement , maturity , discount , redemption [ , [ basis ] ] )"
};
};
/**
* @constructor
......@@ -4599,11 +4404,6 @@
return this.value = new cNumber(res);
};
cPRICEMAT.prototype.getInfo = function () {
return {
name: this.name, args: "( settlement , maturity , issue , rate , yld [ , [ basis ] ] )"
};
};
/**
* @constructor
......@@ -4691,11 +4491,6 @@
return this.value = new cNumber(res);
};
cPV.prototype.getInfo = function () {
return {
name: this.name, args: "( rate , nper , pmt [ , [ fv ] [ ,[ type ] ] ] )"
};
};
/**
* @constructor
......@@ -4794,11 +4589,6 @@
this.value.numFormat = 9;
return this.value;
};
cRATE.prototype.getInfo = function () {
return {
name: this.name, args: "( nper , pmt , pv [ , [ [ fv ] [ , [ [ type ] [ , [ guess ] ] ] ] ] ] )"
};
};
/**
* @constructor
......@@ -4890,11 +4680,6 @@
return this.value;
};
cRECEIVED.prototype.getInfo = function () {
return {
name: this.name, args: "( settlement , maturity , investment , discount [ , [ basis ] ] )"
};
};
/**
* @constructor
......@@ -4958,11 +4743,6 @@
return this.value;
};
cSLN.prototype.getInfo = function () {
return {
name: this.name, args: "( cost , salvage , life )"
};
};
/**
* @constructor
......@@ -5040,11 +4820,6 @@
return this.value = new cNumber(res);
};
cSYD.prototype.getInfo = function () {
return {
name: this.name, args: "( cost , salvage , life , per )"
};
};
/**
* @constructor
......@@ -5123,11 +4898,6 @@
return this.value;
};
cTBILLEQ.prototype.getInfo = function () {
return {
name: this.name, args: "( settlement , maturity , discount )"
};
};
/**
* @constructor
......@@ -5202,11 +4972,6 @@
return this.value;
};
cTBILLPRICE.prototype.getInfo = function () {
return {
name: this.name, args: "( settlement , maturity , discount )"
};
};
/**
* @constructor
......@@ -5282,11 +5047,6 @@
return this.value;
};
cTBILLYIELD.prototype.getInfo = function () {
return {
name: this.name, args: "( settlement , maturity , pr )"
};
};
/**
* @constructor
......@@ -5460,12 +5220,6 @@
return this.value = new cNumber(res);
};
cVDB.prototype.getInfo = function () {
return {
name: this.name,
args: "( cost , salvage , life , start-period , end-period [ , [ [ factor ] [ , [ no-switch-flag ] ] ] ] ] )"
};
};
/**
* @constructor
......@@ -5716,11 +5470,6 @@
return this.value;
};
cXIRR.prototype.getInfo = function () {
return {
name: this.name, args: "( values , dates [ , [ guess ] ] )"
};
};
/**
* @constructor
......@@ -5849,11 +5598,6 @@
return this.value = xnpv(arg0, valueArray, dateArray);
};
cXNPV.prototype.getInfo = function () {
return {
name: this.name, args: "( rate , values , dates )"
};
};
/**
* @constructor
......@@ -5967,11 +5711,6 @@
return this.value;
};
cYIELD.prototype.getInfo = function () {
return {
name: this.name, args: "( settlement , maturity , rate , pr , redemption , frequency [ , [ basis ] ] )"
};
};
/**
* @constructor
......@@ -6065,11 +5804,6 @@
return this.value;
};
cYIELDDISC.prototype.getInfo = function () {
return {
name: this.name, args: "( settlement , maturity , pr , redemption , [ , [ basis ] ] )"
};
};
/**
* @constructor
......@@ -6174,11 +5908,6 @@
return this.value;
};
cYIELDMAT.prototype.getInfo = function () {
return {
name: this.name, args: "( settlement , maturity , issue , rate , pr [ , [ basis ] ] )"
};
};
//----------------------------------------------------------export----------------------------------------------------
window['AscCommonExcel'] = window['AscCommonExcel'] || {};
......
......@@ -113,11 +113,6 @@
}
return this.value = typeError(arg0);
};
cERROR_TYPE.prototype.getInfo = function () {
return {
name: this.name, args: "(value)"
};
};
/**
* @constructor
......@@ -146,11 +141,6 @@
return this.value = new cBool(false);
}
};
cISBLANK.prototype.getInfo = function () {
return {
name: this.name, args: "(value)"
};
};
/**
* @constructor
......@@ -182,11 +172,6 @@
return this.value = new cBool(false);
}
};
cISERR.prototype.getInfo = function () {
return {
name: this.name, args: "(value)"
};
};
/**
* @constructor
......@@ -218,11 +203,6 @@
return this.value = new cBool(false);
}
};
cISERROR.prototype.getInfo = function () {
return {
name: this.name, args: "(value)"
};
};
/**
* @constructor
......@@ -259,11 +239,6 @@
return this.value = new cBool((arg0.getValue() & 1) == 0);
}
};
cISEVEN.prototype.getInfo = function () {
return {
name: this.name, args: "(number)"
};
};
/**
* @constructor
......@@ -295,11 +270,6 @@
return this.value = new cBool(false);
}
};
cISLOGICAL.prototype.getInfo = function () {
return {
name: this.name, args: "(value)"
};
};
/**
* @constructor
......@@ -331,11 +301,6 @@
return this.value = new cBool(false);
}
};
cISNA.prototype.getInfo = function () {
return {
name: this.name, args: "(value)"
};
};
/**
* @constructor
......@@ -366,11 +331,6 @@
return this.value = new cBool(false);
}
};
cISNONTEXT.prototype.getInfo = function () {
return {
name: this.name, args: "(value)"
};
};
/**
* @constructor
......@@ -402,11 +362,6 @@
return this.value = new cBool(false);
}
};
cISNUMBER.prototype.getInfo = function () {
return {
name: this.name, args: "(value)"
};
};
/**
* @constructor
......@@ -443,11 +398,6 @@
return this.value = new cBool((arg0.getValue() & 1) == 1);
}
};
cISODD.prototype.getInfo = function () {
return {
name: this.name, args: "(number)"
};
};
/**
* @constructor
......@@ -471,11 +421,6 @@
return this.value = new cBool(false);
}
};
cISREF.prototype.getInfo = function () {
return {
name: this.name, args: "(value)"
};
};
/**
* @constructor
......@@ -507,11 +452,6 @@
return this.value = new cBool(false);
}
};
cISTEXT.prototype.getInfo = function () {
return {
name: this.name, args: "(value)"
};
};
/**
* @constructor
......@@ -557,11 +497,6 @@
}
};
cN.prototype.getInfo = function () {
return {
name: this.name, args: "(value)"
};
};
/**
* @constructor
......@@ -579,11 +514,6 @@
cNA.prototype.Calculate = function () {
return this.value = new cError(cErrorType.not_available);
};
cNA.prototype.getInfo = function () {
return {
name: this.name, args: "()"
};
};
/**
* @constructor
......@@ -619,9 +549,4 @@
return this.value = new cNumber(64);
}
};
cTYPE.prototype.getInfo = function () {
return {
name: this.name, args: "(value)"
};
};
})(window);
......@@ -124,11 +124,6 @@
}
return this.value = argResult;
};
cAND.prototype.getInfo = function () {
return {
name: this.name, args: "(logical1, logical2, ...)"
};
};
/**
* @constructor
......@@ -146,11 +141,6 @@
cFALSE.prototype.Calculate = function () {
return this.value = new cBool(false);
};
cFALSE.prototype.getInfo = function () {
return {
name: this.name, args: "()"
};
};
/**
* @constructor
......@@ -193,11 +183,6 @@
}
}
};
cIF.prototype.getInfo = function () {
return {
name: this.name, args: "(logical_test, value_if_true, value_if_false)"
};
};
/**
* @constructor
......@@ -231,11 +216,6 @@
return this.value = arg[0];
}
};
cIFERROR.prototype.getInfo = function () {
return {
name: this.name, args: "(value, value_if_error)"
};
};
/**
* @constructor
......@@ -270,11 +250,6 @@
return this.value = arg[0];
}
};
cIFNA.prototype.getInfo = function () {
return {
name: this.name, args: "(value, value_if_na)"
};
};
/**
* @constructor
......@@ -313,11 +288,6 @@
return this.value = new cBool(!arg0.tocBool().value);
}
};
cNOT.prototype.getInfo = function () {
return {
name: this.name, args: "(logical)"
};
};
/**
* @constructor
......@@ -388,11 +358,6 @@
}
return this.value = argResult;
};
cOR.prototype.getInfo = function () {
return {
name: this.name, args: "(logical1, logical2, ...)"
};
};
/**
* @constructor
......@@ -410,11 +375,6 @@
cTRUE.prototype.Calculate = function () {
return this.value = new cBool(true);
};
cTRUE.prototype.getInfo = function () {
return {
name: this.name, args: "()"
};
};
/**
* @constructor
......@@ -500,9 +460,4 @@
return this.value = argResult;
};
cXOR.prototype.getInfo = function () {
return {
name: this.name, args: "(logical1, logical2, ...)"
};
};
})(window);
......@@ -210,12 +210,6 @@
return abs ? (A1RefType ? '$' + val : val) : (A1RefType ? val : '[' + val + ']');
};
cADDRESS.prototype.getInfo = function () {
return {
name: this.name,
args: "( row-number , col-number [ , [ ref-type ] [ , [ A1-ref-style-flag ] [ , sheet-name ] ] ] )"
};
};
/**
* @constructor
......@@ -264,11 +258,6 @@
return this.value = new cError(cErrorType.wrong_value_type);
};
cCHOOSE.prototype.getInfo = function () {
return {
name: this.name, args: "( index , argument-list )"
};
};
/**
* @constructor
......@@ -295,11 +284,6 @@
}
return this.value = (range ? new cNumber(range.bbox.c1 + 1) : new cError(cErrorType.bad_reference));
};
cCOLUMN.prototype.getInfo = function () {
return {
name: this.name, args: "( [ reference ] )"
};
};
/**
* @constructor
......@@ -327,11 +311,6 @@
return this.value = (range ? new cNumber(Math.abs(range.getBBox0().c1 - range.getBBox0().c2) + 1) :
new cError(cErrorType.wrong_value_type));
};
cCOLUMNS.prototype.getInfo = function () {
return {
name: this.name, args: "( array )"
};
};
/**
* @constructor
......@@ -450,11 +429,6 @@
var v = arg1.getWS()._getCellNoEmpty(bb.r1 + numberRow, resC);
return this.value = checkTypeCell(v);
};
cHLOOKUP.prototype.getInfo = function () {
return {
name: this.name, args: "( lookup-value , table-array , row-index-num [ , [ range-lookup-flag ] ] )"
};
};
/**
* @constructor
......@@ -547,13 +521,6 @@
return this.value = res ? res : new cError(cErrorType.bad_reference);
};
cINDEX.prototype.getInfo = function () {
return {
name: this.name,
args: "( array , [ row-number ] [ , [ column-number ] ] ) " + this.name +
"( reference , [ row-number ] [ , [ column-number ] [ , [ area-number ] ] ] )"
};
};
/**
* @constructor
......@@ -629,11 +596,6 @@
return this.value = ret;
};
cINDIRECT.prototype.getInfo = function () {
return {
name: this.name, args: "( ref-text [ , [ A1-ref-style-flag ] ] )"
};
};
/**
* @constructor
......@@ -779,11 +741,6 @@
}
}
};
cLOOKUP.prototype.getInfo = function () {
return {
name: this.name, args: "( lookup-value , lookup-vector , result-vector )"
};
};
/**
* @constructor
......@@ -889,11 +846,6 @@
return this.value = findMatch(arg0, arg1, arg2)
};
cMATCH.prototype.getInfo = function () {
return {
name: this.name, args: "( lookup-value , lookup-array [ , [ match-type ]] )"
};
};
/**
* @constructor
......@@ -994,11 +946,6 @@
return this.value;
};
cOFFSET.prototype.getInfo = function () {
return {
name: this.name, args: "( reference , rows , cols [ , [ height ] [ , [ width ] ] ] )"
};
};
/**
* @constructor
......@@ -1025,11 +972,6 @@
}
return this.value = (range ? new cNumber(range.bbox.r1 + 1) : new cError(cErrorType.bad_reference));
};
cROW.prototype.getInfo = function () {
return {
name: this.name, args: "( [ reference ] )"
};
};
/**
* @constructor
......@@ -1057,11 +999,6 @@
return this.value = (range ? new cNumber(Math.abs(range.getBBox0().r1 - range.getBBox0().r2) + 1) :
new cError(cErrorType.wrong_value_type));
};
cROWS.prototype.getInfo = function () {
return {
name: this.name, args: "( array )"
};
};
/**
* @constructor
......@@ -1124,11 +1061,6 @@
return this.value = TransposeMatrix(arg0);
};
cTRANSPOSE.prototype.getInfo = function () {
return {
name: this.name, args: "( array )"
};
};
/**
* @constructor
......@@ -1321,11 +1253,6 @@
var v = arg1.getWS()._getCellNoEmpty(resR, bb.c1 + numberCol);
return this.value = checkTypeCell(v);
};
cVLOOKUP.prototype.getInfo = function () {
return {
name: this.name, args: "( lookup-value , table-array , col-index-num [ , [ range-lookup-flag ] ] )"
};
};
var g_oVLOOKUPCache = new VHLOOKUPCache(false);
var g_oHLOOKUPCache = new VHLOOKUPCache(true);
......
......@@ -119,11 +119,6 @@
}
return this.value = arg0;
};
cABS.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
}
};
/**
* @constructor
......@@ -162,11 +157,6 @@
}
return this.value = arg0;
};
cACOS.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -205,11 +195,6 @@
}
return this.value = arg0;
};
cACOSH.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -249,11 +234,6 @@
return this.value = isNaN(a) ? new cError(cErrorType.not_numeric) : new cNumber(a);
}
};
cACOT.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -293,11 +273,6 @@
return this.value = isNaN(a) ? new cError(cErrorType.not_numeric) : new cNumber(a);
}
};
cACOTH.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -360,11 +335,6 @@
var res = to_arabic(arg0.getValue());
return this.value = isNaN(res) ? new cError(cErrorType.wrong_value_type) : new cNumber(res);
};
cARABIC.prototype.getInfo = function () {
return {
name: this.name, args: "( text )"
};
};
/**
* @constructor
......@@ -403,11 +373,6 @@
}
return this.value = arg0;
};
cASIN.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -446,11 +411,6 @@
}
return this.value = arg0;
};
cASINH.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -489,11 +449,6 @@
return this.value = isNaN(a) ? new cError(cErrorType.not_numeric) : new cNumber(a);
}
};
cATAN.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -566,11 +521,6 @@
new cNumber(Math.atan2(arg1.getValue(), arg0.getValue()))
)
};
cATAN2.prototype.getInfo = function () {
return {
name: this.name, args: "( x, y )"
};
};
/**
* @constructor
......@@ -609,11 +559,6 @@
}
return this.value = arg0;
};
cATANH.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -667,11 +612,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, base_math);
};
cBASE.prototype.getInfo = function () {
return {
name: this.name, args: "( number , radix [ , min_length ] )"
};
};
/**
* @constructor
......@@ -768,11 +708,6 @@
return this.value = ceilingHelper(arg0.getValue(), arg1.getValue());
};
cCEILING.prototype.getInfo = function () {
return {
name: this.name, args: "( x, significance )"
};
};
/**
* @constructor
......@@ -825,11 +760,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, floor_math);
};
cCEILING_MATH.prototype.getInfo = function () {
return {
name: this.name, args: "( x, significance, mode )"
};
};
/**
* @constructor
......@@ -872,11 +802,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, floorHelper);
};
cCEILING_PRECISE.prototype.getInfo = function () {
return {
name: this.name, args: "( x, significance )"
};
};
/**
* @constructor
......@@ -963,11 +888,6 @@
return this.value = new cNumber(Math.binomCoeff(arg0.getValue(), arg1.getValue()));
};
cCOMBIN.prototype.getInfo = function () {
return {
name: this.name, args: "( number , number-chosen )"
};
};
/**
* @constructor
......@@ -1011,11 +931,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, combinaCalculate);
};
cCOMBINA.prototype.getInfo = function () {
return {
name: this.name, args: "( number , number-chosen )"
};
};
/**
* @constructor
......@@ -1054,11 +969,6 @@
}
return this.value = arg0;
};
cCOS.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -1097,11 +1007,6 @@
}
return this.value = arg0;
};
cCOSH.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -1157,11 +1062,6 @@
return this.value = isNaN(a) ? new cError(cErrorType.not_numeric) : new cNumber(a);
}
};
cCOT.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -1212,11 +1112,6 @@
return this.value = isNaN(a) ? new cError(cErrorType.not_numeric) : new cNumber(a);
}
};
cCOTH.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -1272,11 +1167,6 @@
return this.value = isNaN(a) ? new cError(cErrorType.not_numeric) : new cNumber(a);
}
};
cCSC.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -1327,11 +1217,6 @@
return this.value = isNaN(a) ? new cError(cErrorType.not_numeric) : new cNumber(a);
}
};
cCSCH.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -1410,11 +1295,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, decimal_calculate, true);
};
cDECIMAL.prototype.getInfo = function () {
return {
name: this.name, args: "( text , radix )"
};
};
/**
* @constructor
......@@ -1454,11 +1334,6 @@
return this.value = arg0;
};
cDEGREES.prototype.getInfo = function () {
return {
name: this.name, args: "( angle )"
};
};
/**
* @constructor
......@@ -1531,11 +1406,6 @@
}
return this.value = new cError(cErrorType.wrong_value_type);
};
cEVEN.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -1576,11 +1446,6 @@
return this.value = isNaN(a) ? new cError(cErrorType.not_numeric) : new cNumber(a);
}
};
cEXP.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -1626,11 +1491,6 @@
}
return this.value = arg0;
};
cFACT.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -1695,11 +1555,6 @@
}
return this.value = arg0;
};
cFACTDOUBLE.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -1799,11 +1654,6 @@
return this.value = floorHelper(arg0.getValue(), arg1.getValue());
};
cFLOOR.prototype.getInfo = function () {
return {
name: this.name, args: "( x, significance )"
};
};
/**
* @constructor
......@@ -1846,11 +1696,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, floorHelper);
};
cFLOOR_PRECISE.prototype.getInfo = function () {
return {
name: this.name, args: "( x, significance )"
};
};
/**
* @constructor
......@@ -1903,11 +1748,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, floor_math);
};
cFLOOR_MATH.prototype.getInfo = function () {
return {
name: this.name, args: "( x, significance, mode )"
};
};
/**
* @constructor
......@@ -2003,11 +1843,6 @@
return this.value = new cNumber(_gcd);
};
cGCD.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -2050,11 +1885,6 @@
return this.value = new cNumber(Math.floor(arg0.getValue()));
};
cINT.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -2098,11 +1928,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, floorHelper);
};
cISO_CEILING.prototype.getInfo = function () {
return {
name: this.name, args: "( x, significance )"
};
};
/**
* @constructor
......@@ -2202,11 +2027,6 @@
return this.value = new cNumber(_lcm);
};
cLCM.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -2253,11 +2073,6 @@
}
}
};
cLN.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -2349,11 +2164,6 @@
return this.value = new cNumber(Math.log(arg0.getValue()) / Math.log(arg1.getValue()));
};
cLOG.prototype.getInfo = function () {
return {
name: this.name, args: "( x [ , base ] )"
};
};
/**
* @constructor
......@@ -2400,11 +2210,6 @@
}
}
};
cLOG10.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -2490,11 +2295,6 @@
return this.value = new cError(cErrorType.not_available);
}
};
cMDETERM.prototype.getInfo = function () {
return {
name: this.name, args: "( array )"
};
};
/**
* @constructor
......@@ -2639,11 +2439,6 @@
return this.value = InverseMatrix(arg0);
};
cMINVERSE.prototype.getInfo = function () {
return {
name: this.name, args: "( array )"
};
};
/**
* @constructor
......@@ -2713,11 +2508,6 @@
return this.value = mult(arg0, arg1);
};
cMMULT.prototype.getInfo = function () {
return {
name: this.name, args: "( array1, array2 )"
};
};
/**
* @constructor
......@@ -2804,11 +2594,6 @@
new cNumber((arg1.getValue() < 0 ? -1 : 1) * ( Math.abs(arg0.getValue()) % Math.abs(arg1.getValue()) ));
};
cMOD.prototype.getInfo = function () {
return {
name: this.name, args: "( x, y )"
};
};
/**
* @constructor
......@@ -2912,11 +2697,6 @@
multiple = arg1.getValue();
return this.value = new cNumber(mroundHelper(arg0.getValue() + arg1.getValue() / 2));
};
cMROUND.prototype.getInfo = function () {
return {
name: this.name, args: "( x, multiple )"
};
};
/**
* @constructor
......@@ -3008,11 +2788,6 @@
return this.value = new cNumber(Math.fact(arg0.getValue()) / fact);
};
cMULTINOMIAL.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -3074,11 +2849,6 @@
return this.value = new cError(cErrorType.wrong_value_type);
};
cODD.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -3096,11 +2866,6 @@
cPI.prototype.Calculate = function () {
return new cNumber(Math.PI);
};
cPI.prototype.getInfo = function () {
return {
name: this.name, args: "()"
}
};
/**
* @constructor
......@@ -3182,11 +2947,6 @@
return this.value = powerHelper(arg0.getValue(), arg1.getValue());
};
cPOWER.prototype.getInfo = function () {
return {
name: this.name, args: "( x, y )"
};
};
/**
* @constructor
......@@ -3237,11 +2997,6 @@
}
return this.value = arg0;
};
cPRODUCT.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -3320,11 +3075,6 @@
return this.value = quotient(arg0, arg1);
};
cQUOTIENT.prototype.getInfo = function () {
return {
name: this.name, args: "( dividend , divisor )"
};
};
/**
* @constructor
......@@ -3367,11 +3117,6 @@
return this.value = arg0;
};
cRADIANS.prototype.getInfo = function () {
return {
name: this.name, args: "( angle )"
};
};
/**
* @constructor
......@@ -3390,11 +3135,6 @@
cRAND.prototype.Calculate = function () {
return this.value = new cNumber(Math.random());
};
cRAND.prototype.getInfo = function () {
return {
name: this.name, args: "()"
};
};
/**
* @constructor
......@@ -3470,11 +3210,6 @@
return this.value = new cNumber(randBetween(arg0.getValue(), arg1.getValue()));
};
cRANDBETWEEN.prototype.getInfo = function () {
return {
name: this.name, args: "( lower-bound , upper-bound )"
};
};
/**
* @constructor
......@@ -3584,11 +3319,6 @@
return this.value = roman(arg0.getValue(), arg1.getValue());
};
cROMAN.prototype.getInfo = function () {
return {
name: this.name, args: "( number, form )"
};
};
/**
* @constructor
......@@ -3736,11 +3466,6 @@
return this.value = roundHelper(number, num_digits);
};
cROUND.prototype.getInfo = function () {
return {
name: this.name, args: "( x , number-digits )"
};
};
/**
* @constructor
......@@ -3864,11 +3589,6 @@
return this.value = rounddownHelper(number, num_digits);
};
cROUNDDOWN.prototype.getInfo = function () {
return {
name: this.name, args: "( x , number-digits )"
};
};
/**
* @constructor
......@@ -3992,11 +3712,6 @@
return this.value = roundupHelper(number, num_digits);
};
cROUNDUP.prototype.getInfo = function () {
return {
name: this.name, args: "( x , number-digits )"
};
};
/**
* @constructor
......@@ -4046,11 +3761,6 @@
return this.value = isNaN(a) ? new cError(cErrorType.not_numeric) : new cNumber(a);
}
};
cSEC.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -4093,11 +3803,6 @@
return this.value = isNaN(a) ? new cError(cErrorType.not_numeric) : new cNumber(a);
}
};
cSECH.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -4169,11 +3874,6 @@
return this.value = SERIESSUM(arg0, arg1, arg2, arg3);
};
cSERIESSUM.prototype.getInfo = function () {
return {
name: this.name, args: "( input-value , initial-power , step , coefficients )"
};
};
/**
* @constructor
......@@ -4225,11 +3925,6 @@
return this.value = arg0;
};
cSIGN.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -4268,11 +3963,6 @@
}
return this.value = arg0;
};
cSIN.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -4311,11 +4001,6 @@
}
return this.value = arg0;
};
cSINH.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -4354,11 +4039,6 @@
}
return this.value = arg0;
};
cSQRT.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -4397,11 +4077,6 @@
}
return this.value = arg0;
};
cSQRTPI.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -4496,11 +4171,6 @@
return this.value;
};
cSUBTOTAL.prototype.getInfo = function () {
return {
name: this.name, args: "( function-number , argument-list )"
};
};
/**
* @constructor
......@@ -4555,11 +4225,6 @@
return this.value = arg0;
};
cSUM.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -4630,11 +4295,6 @@
return this.value = new cNumber(_sum);
};
cSUMIF.prototype.getInfo = function () {
return {
name: this.name, args: "( cell-range, selection-criteria [ , sum-range ] )"
};
};
/**
* @constructor
......@@ -4725,11 +4385,6 @@
cSUMIFS.prototype.checkArguments = function () {
return 1 === this.argumentsCurrent % 2 && cBaseFunction.prototype.checkArguments.apply(this, arguments);
};
cSUMIFS.prototype.getInfo = function () {
return {
name: this.name, args: "(sum-range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)"
};
};
/**
* @constructor
......@@ -4800,11 +4455,6 @@
return this.value = new cNumber(res);
};
cSUMPRODUCT.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -4860,11 +4510,6 @@
return this.value = arg0;
};
cSUMSQ.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -4948,11 +4593,6 @@
return this.value = sumX2MY2(arg0, arg1, false);
};
cSUMX2MY2.prototype.getInfo = function () {
return {
name: this.name, args: "( array-1 , array-2 )"
};
};
/**
* @constructor
......@@ -5036,11 +4676,6 @@
return this.value = sumX2MY2(arg0, arg1, false);
};
cSUMX2PY2.prototype.getInfo = function () {
return {
name: this.name, args: "( array-1 , array-2 )"
};
};
/**
* @constructor
......@@ -5124,11 +4759,6 @@
return this.value = sumX2MY2(arg0, arg1, false);
};
cSUMXMY2.prototype.getInfo = function () {
return {
name: this.name, args: "( array-1 , array-2 )"
};
};
/**
* @constructor
......@@ -5167,11 +4797,6 @@
}
return this.value = arg0;
};
cTAN.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -5210,11 +4835,6 @@
}
return this.value = arg0;
};
cTANH.prototype.getInfo = function () {
return {
name: this.name, args: "( x )"
};
};
/**
* @constructor
......@@ -5325,9 +4945,4 @@
return this.value = truncHelper(arg0.getValue(), arg1.getValue());
};
cTRUNC.prototype.getInfo = function () {
return {
name: this.name, args: "( x [ , number-digits ] )"
};
};
})(window);
......@@ -1034,11 +1034,6 @@
return this.value = new cNumber(a / count);
};
cAVEDEV.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -1107,11 +1102,6 @@
}
return this.value = new cNumber(sum.getValue() / count);
};
cAVERAGE.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -1173,11 +1163,6 @@
}
return this.value = new cNumber(sum.getValue() / count);
};
cAVERAGEA.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -1259,11 +1244,6 @@
return this.value = new cNumber(_sum / _count);
}
};
cAVERAGEIF.prototype.getInfo = function () {
return {
name: this.name, args: "( cell-range, selection-criteria [ , average-range ] )"
};
};
/**
* @constructor
......@@ -1346,11 +1326,6 @@
cAVERAGEIFS.prototype.checkArguments = function () {
return 1 === this.argumentsCurrent % 2 && cBaseFunction.prototype.checkArguments.apply(this, arguments);
};
cAVERAGEIFS.prototype.getInfo = function () {
return {
name: this.name, args: "(average_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)"
};
};
/**
* @constructor
......@@ -1409,9 +1384,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, calcBeta);
};
cBETADIST.prototype.getInfo = function () {
return {name: this.name, args: "( x, alpha, beta, a, b )"}
};
/**
* @constructor
......@@ -1474,9 +1446,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, calcBeta);
};
cBETA_DIST.prototype.getInfo = function () {
return {name: this.name, args: "( x, alpha, beta, cumulative, a, b )"}
};
/**
* @constructor
......@@ -1535,9 +1504,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, calcGamma);
};
cBETA_INV.prototype.getInfo = function () {
return {name: this.name, args: "( probability, alpha, beta, a, b )"}
};
/**
* @constructor
......@@ -1619,11 +1585,6 @@
return this.value = new cNumber(binomdist(arg0.getValue(), arg1.getValue(), arg2.getValue()));
}
};
cBINOMDIST.prototype.getInfo = function () {
return {
name: this.name, args: "( number-successes , number-trials , success-probability , cumulative-flag )"
};
};
/**
* @constructor
......@@ -1663,11 +1624,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, calcTDist);
};
cCHIDIST.prototype.getInfo = function () {
return {
name: this.name, args: "(x, deg_freedom)"
};
};
/**
* @constructor
......@@ -1715,11 +1671,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, calcTDist);
};
cCHIINV.prototype.getInfo = function () {
return {
name: this.name, args: "(probability, deg_freedom)"
};
};
/**
* @constructor
......@@ -1772,11 +1723,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, calcTDist);
};
cCHISQ_DIST.prototype.getInfo = function () {
return {
name: this.name, args: "(x, deg_freedom, cumulative)"
};
};
/**
* @constructor
......@@ -1838,11 +1784,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, calcTDist);
};
cCHISQ_INV.prototype.getInfo = function () {
return {
name: this.name, args: "(probability, deg_freedom)"
};
};
/**
* @constructor
......@@ -1891,11 +1832,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, calcTDist);
};
cCHISQ_INV_RT.prototype.getInfo = function () {
return {
name: this.name, args: "(probability, deg_freedom)"
};
};
/**
* @constructor
......@@ -1965,11 +1901,6 @@
new cNumber(gaussinv(1.0 - alpha.getValue() / 2.0) * stdev_sigma.getValue() / Math.sqrt(size.getValue()));
};
cCONFIDENCE.prototype.getInfo = function () {
return {
name: this.name, args: "( alpha , standard-dev , size )"
};
};
/**
* @constructor
......@@ -2051,11 +1982,6 @@
return this.value = correl(arr0, arr1);
};
cCORREL.prototype.getInfo = function () {
return {
name: this.name, args: "( array-1 , array-2 )"
};
};
/**
* @constructor
......@@ -2106,11 +2032,6 @@
}
return this.value = new cNumber(count);
};
cCOUNT.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -2156,11 +2077,6 @@
}
return this.value = new cNumber(count);
};
cCOUNTA.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -2187,11 +2103,6 @@
return this.value = new cError(cErrorType.bad_reference);
}
};
cCOUNTBLANK.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -2245,11 +2156,6 @@
return this.value = new cNumber(_count);
};
cCOUNTIF.prototype.getInfo = function () {
return {
name: this.name, args: "( cell-range, selection-criteria )"
};
};
/**
* @constructor
......@@ -2322,11 +2228,6 @@
cCOUNTIFS.prototype.checkArguments = function () {
return 0 === this.argumentsCurrent % 2 && cBaseFunction.prototype.checkArguments.apply(this, arguments);
};
cCOUNTIFS.prototype.getInfo = function () {
return {
name: this.name, args: "(criteria_range1, criteria1, [criteria_range2, criteria2], ...)"
};
};
/**
* @constructor
......@@ -2402,11 +2303,6 @@
return this.value = covar(arr0, arr1);
};
cCOVAR.prototype.getInfo = function () {
return {
name: this.name, args: "( array-1 , array-2 )"
};
};
/**
* @constructor
......@@ -2492,11 +2388,6 @@
return this.value = critbinom(n, p, alpha);
};
cCRITBINOM.prototype.getInfo = function () {
return {
name: this.name, args: "( number-trials , success-probability , alpha )"
};
};
/**
* @constructor
......@@ -2571,11 +2462,6 @@
return this.value = devsq(arr0);
};
cDEVSQ.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -2625,11 +2511,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, calcFDist);
};
cEXPON_DIST.prototype.getInfo = function () {
return {
name: this.name, args: "( x , lambda , cumulative-flag )"
};
};
/**
* @constructor
......@@ -2690,11 +2571,6 @@
return this.value = new cNumber(arg1.getValue() * Math.exp(-arg1.getValue() * arg0.getValue()));
}
};
cEXPONDIST.prototype.getInfo = function () {
return {
name: this.name, args: "( x , lambda , cumulative-flag )"
};
};
/**
* @constructor
......@@ -2759,11 +2635,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, calcFDist);
};
cF_DIST.prototype.getInfo = function () {
return {
name: this.name, args: "(x, deg_freedom1, deg_freedom2, cumulative)"
};
};
/**
* @constructor
......@@ -2810,11 +2681,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, calcFDist);
};
cF_DIST_RT.prototype.getInfo = function () {
return {
name: this.name, args: "(x, deg_freedom1, deg_freedom2)"
};
};
/**
* @constructor
......@@ -2869,11 +2735,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, calcFDist);
};
cF_INV.prototype.getInfo = function () {
return {
name: this.name, args: "(probability, deg_freedom1, deg_freedom2)"
};
};
/**
* @constructor
......@@ -2927,11 +2788,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, calcFDist);
};
cFINV.prototype.getInfo = function () {
return {
name: this.name, args: "(probability, deg_freedom1, deg_freedom2)"
};
};
/**
* @constructor
......@@ -2989,11 +2845,6 @@
return this.value = arg0;
};
cFISHER.prototype.getInfo = function () {
return {
name: this.name, args: "( number )"
};
};
/**
* @constructor
......@@ -3038,11 +2889,6 @@
return this.value = arg0;
};
cFISHERINV.prototype.getInfo = function () {
return {
name: this.name, args: "( number )"
};
};
/**
* @constructor
......@@ -3136,11 +2982,6 @@
return this.value = forecast(arg0, arr0, arr1);
};
cFORECAST.prototype.getInfo = function () {
return {
name: this.name, args: "( x , array-1 , array-2 )"
};
};
/**
* @constructor
......@@ -3225,11 +3066,6 @@
return this.value = frequency(arg0, arg1);
};
cFREQUENCY.prototype.getInfo = function () {
return {
name: this.name, args: "( data-array , bins-array )"
};
};
/**
* @constructor
......@@ -3278,9 +3114,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, calcGamma);
};
cGAMMA.prototype.getInfo = function () {
return {name: this.name, args: "(number)"}
};
/**
* @constructor
......@@ -3335,9 +3168,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, calcGamma);
};
cGAMMA_DIST.prototype.getInfo = function () {
return {name: this.name, args: "(x, alpha, beta, cumulative )"}
};
/**
* @constructor
......@@ -3409,9 +3239,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, calcGamma);
};
cGAMMA_INV.prototype.getInfo = function () {
return {name: this.name, args: "(probability, alpha, beta )"}
};
/**
* @constructor
......@@ -3470,9 +3297,6 @@
}
return this.value = arg0;
};
cGAMMALN.prototype.getInfo = function () {
return {name: this.name, args: "(number)"}
};
/**
* @constructor
......@@ -3507,9 +3331,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, calcGamma);
};
cGAMMALN_PRECISE.prototype.getInfo = function () {
return {name: this.name, args: "(number)"}
};
/**
* @constructor
......@@ -3544,9 +3365,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, calcGauss);
};
cGAUSS.prototype.getInfo = function () {
return {name: this.name, args: "(number)"}//в документации аргумент называется Z
};
/**
* @constructor
......@@ -3619,11 +3437,6 @@
return this.value = geommean(arr0);
};
cGEOMEAN.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -3713,11 +3526,6 @@
return this.value = harmmean(arr0);
};
cHARMEAN.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -3791,11 +3599,6 @@
Math.binomCoeff(arg3.getValue(), arg1.getValue()));
};
cHYPGEOMDIST.prototype.getInfo = function () {
return {
name: this.name, args: "( sample-successes , number-sample , population-successes , number-population )"
};
};
/**
* @constructor
......@@ -3877,11 +3680,6 @@
return this.value = intercept(arr0, arr1);
};
cINTERCEPT.prototype.getInfo = function () {
return {
name: this.name, args: "( array-1 , array-2 )"
};
};
/**
* @constructor
......@@ -3968,11 +3766,6 @@
return this.value = kurt(arr0);
};
cKURT.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -4043,11 +3836,6 @@
arg1 = arg1.tocNumber();
return this.value = this._getValue(arg0, arg1);
};
cLARGE.prototype.getInfo = function () {
return {
name: this.name, args: "( array , k )"
};
};
/**
* @constructor
......@@ -4131,11 +3919,6 @@
return this.value = loginv(arg0.getValue(), arg1.getValue(), arg2.getValue());
};
cLOGINV.prototype.getInfo = function () {
return {
name: this.name, args: "( x , mean , standard-deviation )"
};
};
/**
* @constructor
......@@ -4197,9 +3980,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, normdist);
};
cLOGNORM_DIST.prototype.getInfo = function () {
return {name: this.name, args: "( x , mean , standard-deviation, cumulative )"}
};
/**
* @constructor
......@@ -4246,9 +4026,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, normdist);
};
cLOGNORM_INV.prototype.getInfo = function () {
return {name: this.name, args: "( probability , mean, standard_dev )"}
};
/**
* @constructor
......@@ -4310,11 +4087,6 @@
return this.value = normdist(arg0.getValue(), arg1.getValue(), arg2.getValue());
};
cLOGNORMDIST.prototype.getInfo = function () {
return {
name: this.name, args: "( x , mean , standard-deviation )"
};
};
/**
* @constructor
......@@ -4394,11 +4166,6 @@
}
return this.value = (max === Number.NEGATIVE_INFINITY ? new cNumber(0) : new cNumber(max));
};
cMAX.prototype.getInfo = function () {
return {
name: this.name, args: "(number1, number2, ...)"
};
};
/**
* @constructor
......@@ -4480,11 +4247,6 @@
}
return this.value = ( max === Number.NEGATIVE_INFINITY ? new cNumber(0) : new cNumber(max) )
};
cMAXA.prototype.getInfo = function () {
return {
name: this.name, args: "(number1, number2, ...)"
};
};
/**
* @constructor
......@@ -4558,11 +4320,6 @@
return this.value = median(arr0);
};
cMEDIAN.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -4643,11 +4400,6 @@
}
return this.value = ( min === Number.POSITIVE_INFINITY ? new cNumber(0) : new cNumber(min) );
};
cMIN.prototype.getInfo = function () {
return {
name: this.name, args: "(number1, number2, ...)"
};
};
/**
* @constructor
......@@ -4730,11 +4482,6 @@
}
return this.value = ( min === Number.POSITIVE_INFINITY ? new cNumber(0) : new cNumber(min) );
};
cMINA.prototype.getInfo = function () {
return {
name: this.name, args: "(number1, number2, ...)"
};
};
/**
* @constructor
......@@ -4828,11 +4575,6 @@
return this.value = mode(arr0);
};
cMODE.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -4897,11 +4639,6 @@
return this.value = negbinomdist(arg0, arg1, arg2);
};
cNEGBINOMDIST.prototype.getInfo = function () {
return {
name: this.name, args: "( number-failures , number-successes , success-probability )"
};
};
/**
* @constructor
......@@ -4979,11 +4716,6 @@
return this.value = normdist(arg0.getValue(), arg1.getValue(), arg2.getValue(), arg3.toBool());
};
cNORMDIST.prototype.getInfo = function () {
return {
name: this.name, args: "( x , mean , standard-deviation , cumulative-flag )"
};
};
/**
* @constructor
......@@ -5045,11 +4777,6 @@
return this.value = norminv(arg0.getValue(), arg1.getValue(), arg2.getValue());
};
cNORMINV.prototype.getInfo = function () {
return {
name: this.name, args: "( x , mean , standard-deviation )"
};
};
/**
* @constructor
......@@ -5088,11 +4815,6 @@
}
return this.value = arg0;
};
cNORMSDIST.prototype.getInfo = function () {
return {
name: this.name, args: "(number)"
};
};
/**
* @constructor
......@@ -5140,11 +4862,6 @@
}
return this.value = arg0;
};
cNORMSINV.prototype.getInfo = function () {
return {
name: this.name, args: "( probability )"
};
};
/**
* @constructor
......@@ -5227,11 +4944,6 @@
return this.value = pearson(arr0, arr1);
};
cPEARSON.prototype.getInfo = function () {
return {
name: this.name, args: "( array-1 , array-2 )"
};
};
/**
* @constructor
......@@ -5294,11 +5006,6 @@
return this.value = percentile(arg0, arg1);
};
cPERCENTILE.prototype.getInfo = function () {
return {
name: this.name, args: "( array , k )"
};
};
/**
* @constructor
......@@ -5410,11 +5117,6 @@
return this.value = percentrank(arr0, arg1, arg2);
};
cPERCENTRANK.prototype.getInfo = function () {
return {
name: this.name, args: "( array , x [ , significance ] )"
};
};
/**
* @constructor
......@@ -5501,11 +5203,6 @@
return this.value = new cNumber(Math.permut(arg0.getValue(), arg1.getValue()));
};
cPERMUT.prototype.getInfo = function () {
return {
name: this.name, args: "( number , number-chosen )"
};
};
/**
* @constructor
......@@ -5580,11 +5277,6 @@
return this.value = new cNumber(poisson(arg0, arg1, arg2));
};
cPOISSON.prototype.getInfo = function () {
return {
name: this.name, args: "( x , mean , cumulative-flag )"
};
};
/**
* @constructor
......@@ -5695,11 +5387,6 @@
return this.value = prob(arg0, arg1, arg2, arg3);
};
cPROB.prototype.getInfo = function () {
return {
name: this.name, args: "( x-range , probability-range , lower-limit [ , upper-limit ] )"
};
};
/**
* @constructor
......@@ -5804,11 +5491,6 @@
return this.value = quartile(arg0, arg1);
};
cQUARTILE.prototype.getInfo = function () {
return {
name: this.name, args: "( array , result-category )"
};
};
/**
* @constructor
......@@ -5903,11 +5585,6 @@
return this.value = rsq(arr0, arr1);
};
cRSQ.prototype.getInfo = function () {
return {
name: this.name, args: "( array-1 , array-2 )"
};
};
/**
* @constructor
......@@ -5996,11 +5673,6 @@
}
return this.value = skew(arr0);
};
cSKEW.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -6083,11 +5755,6 @@
return this.value = slope(arr0, arr1);
};
cSLOPE.prototype.getInfo = function () {
return {
name: this.name, args: "( array-1 , array-2 )"
};
};
/**
* @constructor
......@@ -6164,11 +5831,6 @@
return this.value = frequency(arg0, arg1);
};
cSMALL.prototype.getInfo = function () {
return {
name: this.name, args: "( array , k )"
};
};
/**
* @constructor
......@@ -6230,11 +5892,6 @@
return this.value = standardize(arg0.getValue(), arg1.getValue(), arg2.getValue());
};
cSTANDARDIZE.prototype.getInfo = function () {
return {
name: this.name, args: "( x , mean , standard-deviation )"
};
};
/**
* @constructor
......@@ -6298,11 +5955,6 @@
}
return this.value = new cNumber(Math.sqrt(res / (count - 1)));
};
cSTDEV.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -6363,11 +6015,6 @@
}
return this.value = new cNumber(Math.sqrt(res / (count - 1)));
};
cSTDEVA.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -6441,11 +6088,6 @@
}
return this.value = _var(arr0);
};
cSTDEVP.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -6533,11 +6175,6 @@
}
return this.value = _var(arr0);
};
cSTDEVPA.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -6623,11 +6260,6 @@
return this.value = steyx(arr0, arr1);
};
cSTEYX.prototype.getInfo = function () {
return {
name: this.name, args: "( known-ys , known-xs )"
};
};
/**
* @constructor
......@@ -6669,11 +6301,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, calcTDist);
};
cTDIST.prototype.getInfo = function () {
return {
name: this.name, args: "(x, deg_freedom, tails)"
};
};
/**
* @constructor
......@@ -6716,11 +6343,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, calcTDist);
};
cT_DIST.prototype.getInfo = function () {
return {
name: this.name, args: "(x, deg_freedom, cumulative)"
};
};
/**
* @constructor
......@@ -6761,11 +6383,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, calcTDist);
};
cT_DIST_2T.prototype.getInfo = function () {
return {
name: this.name, args: "(x, deg_freedom)"
};
};
/**
* @constructor
......@@ -6810,11 +6427,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, calcTDist);
};
cT_DIST_RT.prototype.getInfo = function () {
return {
name: this.name, args: "(x, deg_freedom)"
};
};
/**
* @constructor
......@@ -6873,11 +6485,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, calcTDist);
};
cT_INV.prototype.getInfo = function () {
return {
name: this.name, args: "(probability, deg_freedom)"
};
};
/**
* @constructor
......@@ -6927,11 +6534,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, calcTDist);
};
cT_INV_2T.prototype.getInfo = function () {
return {
name: this.name, args: "(probability, deg_freedom)"
};
};
/**
* @constructor
......@@ -7056,11 +6658,6 @@
return this.value = _var(arr0);
};
cVAR.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -7152,11 +6749,6 @@
}
return this.value = _var(arr0);
};
cVARA.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -7235,11 +6827,6 @@
}
return this.value = _var(arr0);
};
cVARP.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -7255,11 +6842,6 @@
cVARdotP.prototype.constructor = cVARdotP;
cVARdotP.prototype.argumentsMin = 1;
cVARdotP.prototype.Calculate = cVARP.prototype.Calculate;
cVARdotP.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......@@ -7351,11 +6933,6 @@
}
return this.value = _var(arr0);
};
cVARPA.prototype.getInfo = function () {
return {
name: this.name, args: "( argument-list )"
};
};
/**
* @constructor
......
......@@ -130,11 +130,6 @@
return this.value = new cString(String.fromCharCode(arg0.getValue()));
};
cCHAR.prototype.getInfo = function () {
return {
name: this.name, args: "( number )"
};
};
/**
* @constructor
......@@ -172,11 +167,6 @@
return this.value = new cString(res);
};
cCLEAN.prototype.getInfo = function () {
return {
name: this.name, args: "( string )"
};
};
/**
* @constructor
......@@ -222,11 +212,6 @@
return this.value = new cNumber(arg0.toString().charCodeAt());
};
cCODE.prototype.getInfo = function () {
return {
name: this.name, args: "( string )"
};
};
/**
* @constructor
......@@ -272,11 +257,6 @@
}
return this.value = arg0;
};
cCONCATENATE.prototype.getInfo = function () {
return {
name: this.name, args: "(text1, text2, ...)"
};
};
/**
* @constructor
......@@ -332,11 +312,6 @@
}
return this.value = arg0;
};
cCONCAT.prototype.getInfo = function () {
return {
name: this.name, args: "(text1, text2, ...)"
};
};
/**
* @constructor
......@@ -536,11 +511,6 @@
AscCommon.gc_nMaxDigCount)[0].text);
return this.value;
};
cDOLLAR.prototype.getInfo = function () {
return {
name: this.name, args: "( number [ , num-decimal ] )"
};
};
/**
* @constructor
......@@ -587,11 +557,6 @@
var arg0val = arg0.getValue(), arg1val = arg1.getValue();
return this.value = new cBool(arg0val === arg1val);
};
cEXACT.prototype.getInfo = function () {
return {
name: this.name, args: "(text1, text2)"
};
};
/**
* @constructor
......@@ -678,11 +643,6 @@
return this.value = new cNumber(res + 1);
};
cFIND.prototype.getInfo = function () {
return {
name: this.name, args: "( string-1 , string-2 [ , start-pos ] )"
};
};
/**
* @constructor
......@@ -891,11 +851,6 @@
.format(roundHelper(number, num_digits).getValue(), CellValueType.Number,
AscCommon.gc_nMaxDigCount)[0].text)
};
cFIXED.prototype.getInfo = function () {
return {
name: this.name, args: "( number [ , [ num-decimal ] [ , suppress-commas-flag ] ] )"
};
};
/**
* @constructor
......@@ -957,11 +912,6 @@
return this.value = new cString(arg0.getValue().substring(0, arg1.getValue()))
};
cLEFT.prototype.getInfo = function () {
return {
name: this.name, args: "( string [ , number-chars ] )"
};
};
/**
* @constructor
......@@ -1008,11 +958,6 @@
return this.value = new cNumber(arg0.getValue().length)
};
cLEN.prototype.getInfo = function () {
return {
name: this.name, args: "( string )"
};
};
/**
* @constructor
......@@ -1058,11 +1003,6 @@
return this.value = new cString(arg0.getValue().toLowerCase());
};
cLOWER.prototype.getInfo = function () {
return {
name: this.name, args: "(text)"
};
};
/**
* @constructor
......@@ -1133,11 +1073,6 @@
new cString(arg0.getValue().substr(arg1.getValue() == 0 ? 0 : arg1.getValue() - 1, arg2.getValue()))
};
cMID.prototype.getInfo = function () {
return {
name: this.name, args: "( string , start-pos , number-chars )"
};
};
/**
* @constructor
......@@ -1273,11 +1208,6 @@
return this.value = this._findArrayInNumberArguments(oArguments, calcText, true);
};
cNUMBERVALUE.prototype.getInfo = function () {
return {
name: this.name, args: "(text, decimal_separator, group_separator )"
};
};
/**
......@@ -1356,11 +1286,6 @@
return this.value = new cString(proper(arg0.toString()));
};
cPROPER.prototype.getInfo = function () {
return {
name: this.name, args: "( string )"
};
};
/**
* @constructor
......@@ -1439,11 +1364,6 @@
return this.value = new cString(res);
};
cREPLACE.prototype.getInfo = function () {
return {
name: this.name, args: "( string-1, start-pos, number-chars, string-2 )"
};
};
/**
* @constructor
......@@ -1518,11 +1438,6 @@
return this.value = new cString(arg0.getValue().repeat(arg1.getValue()));
};
cREPT.prototype.getInfo = function () {
return {
name: this.name, args: "(text, number_of_times)"
};
};
/**
* @constructor
......@@ -1573,11 +1488,6 @@
return this.value = new cString(arg0.getValue().substring(_number < 0 ? 0 : _number, l))
};
cRIGHT.prototype.getInfo = function () {
return {
name: this.name, args: "( string [ , number-chars ] )"
};
};
/**
* @constructor
......@@ -1680,11 +1590,6 @@
return this.value = new cNumber(res + 1);
};
cSEARCH.prototype.getInfo = function () {
return {
name: this.name, args: "( string-1 , string-2 [ , start-pos ] )"
};
};
/**
* @constructor
......@@ -1778,11 +1683,6 @@
return this.value = new cString(res);
};
cSUBSTITUTE.prototype.getInfo = function () {
return {
name: this.name, args: "( string , old-string , new-string [ , occurence ] )"
};
};
/**
* @constructor
......@@ -1816,11 +1716,6 @@
return this.value = new AscCommonExcel.cEmpty();
}
};
cT.prototype.getInfo = function () {
return {
name: this.name, args: "( value )"
};
};
/**
* @constructor
......@@ -1892,11 +1787,6 @@
this.value.numFormat = AscCommonExcel.cNumFormatNone;
return this.value;
};
cTEXT.prototype.getInfo = function () {
return {
name: this.name, args: "( value , format )"
};
};
/**
* @constructor
......@@ -1933,11 +1823,6 @@
return res;
}).replace(/^\s|\s$/g, ""))
};
cTRIM.prototype.getInfo = function () {
return {
name: this.name, args: "( string )"
};
};
/**
* @constructor
......@@ -1969,11 +1854,6 @@
}
return this.value = new cString(arg0.getValue().toUpperCase());
};
cUPPER.prototype.getInfo = function () {
return {
name: this.name, args: "(text)"
};
};
/**
* @constructor
......@@ -2014,9 +1894,4 @@
}
};
cVALUE.prototype.getInfo = function () {
return {
name: this.name, args: "( string )"
};
};
})(window);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment