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
Calculate the complementary error function with higher precision in a spreadsheet.
// How do I compute the complementary error function precisely in a spreadsheet?
// Evaluate the precise complement of the error function from 0 to a limit in a spreadsheet.
let worksheet = Api.GetActiveSheet();
let func = Api.WorksheetFunction;
worksheet.GetRange("A1").SetValue(func.ERFC_PRECISE(0.745));