ERFC_PRECISE
Returns the complementary error function integrated between the specified lower limit and infinity.
Syntax
expression.ERFC_PRECISE(arg1);
expression - A variable that represents a ApiWorksheetFunction class.
Parameters
| Name | Required/Optional | Data type | Default | Description |
|---|---|---|---|---|
| arg1 | Required | ApiRange | ApiName | number | The lower bound for integrating the complementary error function. |
Returns
number
Example
Return the error function integrated between 0 and the specified lower limit in a spreadsheet.
// How to get an error function (from 0 to lower) in a spreadsheet.
// Use function to get an error function set between 0 and lower limits in a spreadsheet.
let worksheet = Api.GetActiveSheet();
let func = Api.WorksheetFunction;
worksheet.GetRange("A1").SetValue(func.ERFC_PRECISE(0.745));