function FactorialFunction4() {
this.name = "MDV";
this.maxArgs = 255;
this.minArgs = 1;
this.typeName = "FactorialFunction4";
}
FactorialFunction4.prototype = new GC.Spread.CalcEngine.Functions.Function("MDV",1,255, {
description: "最大偏差,返回偏差最大的原值。",
parameters: [{
name: "number",
repeatable: false,
optional: false
}]
});
FactorialFunction4.prototype.evaluate = function(arg){
};
var mdvF = new FactorialFunction4();
GC.Spread.CalcEngine.Functions.defineGlobalCustomFunction("MDV", mdvF);
希望参数可以是连续的区域,也可以是多个分开的单元格,像max的参数一样。现在这种写法,只能是多个单元格用逗号分开。应该如何修改呢?
|
|