ERF
function ERF(arg1: any = null, arg2: any = null): number | string | boolean
Description
Returns the error function.
Parameters
- arg1
any
null Is the lower bound for integrating ERF.
- arg2
any
null Is the upper bound for integrating ERF.
Returns
number | string | boolean
Try It
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.ERF(-2));