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