Commit 33b45f4c authored by GoshaZotov's avatar GoshaZotov

add isXLFN flag by acot/acoth

parent 0b22f49a
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
cFormulaFunctionGroup['Financial'] = cFormulaFunctionGroup['Financial'] || []; cFormulaFunctionGroup['Financial'] = cFormulaFunctionGroup['Financial'] || [];
cFormulaFunctionGroup['Financial'].push(cPDURATION, cRRI); cFormulaFunctionGroup['Financial'].push(cPDURATION, cRRI);
cFormulaFunctionGroup['Mathematic'] = cFormulaFunctionGroup['Mathematic'] || []; cFormulaFunctionGroup['Mathematic'] = cFormulaFunctionGroup['Mathematic'] || [];
cFormulaFunctionGroup['Mathematic'].push(cACOT, cACOTH, cAGGREGATE, cARABIC, cBASE, cCEILING_MATH, cCEILING_PRECISE, cFormulaFunctionGroup['Mathematic'].push(cAGGREGATE, cARABIC, cBASE, cCEILING_MATH, cCEILING_PRECISE,
cCOMBINA, cCOT, cCOTH, cCSC, cCSCH, cDECIMAL, cFLOOR_MATH, cFLOOR_PRECISE, cMUNIT, cSEC, cSECH); cCOMBINA, cCOT, cCOTH, cCSC, cCSCH, cDECIMAL, cFLOOR_MATH, cFLOOR_PRECISE, cMUNIT, cSEC, cSECH);
cFormulaFunctionGroup['LookupAndReference'] = cFormulaFunctionGroup['LookupAndReference'] || []; cFormulaFunctionGroup['LookupAndReference'] = cFormulaFunctionGroup['LookupAndReference'] || [];
cFormulaFunctionGroup['LookupAndReference'].push(cFORMULATEXT); cFormulaFunctionGroup['LookupAndReference'].push(cFORMULATEXT);
...@@ -77,30 +77,6 @@ ...@@ -77,30 +77,6 @@
cFormulaFunctionGroup['Logical'] = cFormulaFunctionGroup['Logical'] || []; cFormulaFunctionGroup['Logical'] = cFormulaFunctionGroup['Logical'] || [];
cFormulaFunctionGroup['Logical'].push(cIFNA, cXOR); cFormulaFunctionGroup['Logical'].push(cIFNA, cXOR);
/**
* @constructor
* @extends {AscCommonExcel.cBaseFunction}
*/
function cACOT() {
cBaseFunction.call(this, "ACOT");
this.isXLFN = true;
}
cACOT.prototype = Object.create(cBaseFunction.prototype);
cACOT.prototype.constructor = cACOT;
/**
* @constructor
* @extends {AscCommonExcel.cBaseFunction}
*/
function cACOTH() {
cBaseFunction.call(this, "ACOTH");
this.isXLFN = true;
}
cACOTH.prototype = Object.create(cBaseFunction.prototype);
cACOTH.prototype.constructor = cACOTH;
/** /**
* @constructor * @constructor
* @extends {AscCommonExcel.cBaseFunction} * @extends {AscCommonExcel.cBaseFunction}
......
...@@ -212,11 +212,11 @@ ...@@ -212,11 +212,11 @@
* @constructor * @constructor
* @extends {AscCommonExcel.cBaseFunction} * @extends {AscCommonExcel.cBaseFunction}
*/ */
//TODO скорее всего стоит
function cACOT() { function cACOT() {
this.name = "ACOT"; this.name = "ACOT";
this.value = null; this.value = null;
this.argumentsCurrent = 0; this.argumentsCurrent = 0;
this.isXLFN = true;
} }
cACOT.prototype = Object.create(cBaseFunction.prototype); cACOT.prototype = Object.create(cBaseFunction.prototype);
cACOT.prototype.constructor = cACOT; cACOT.prototype.constructor = cACOT;
...@@ -260,6 +260,7 @@ ...@@ -260,6 +260,7 @@
this.name = "ACOTH"; this.name = "ACOTH";
this.value = null; this.value = null;
this.argumentsCurrent = 0; this.argumentsCurrent = 0;
this.isXLFN = true;
} }
cACOTH.prototype = Object.create(cBaseFunction.prototype); cACOTH.prototype = Object.create(cBaseFunction.prototype);
cACOTH.prototype.constructor = cACOTH; cACOTH.prototype.constructor = cACOTH;
......
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