跳到主要内容

ERF_PRECISE

Returns the error function integrated between 0 and the specified lower limit.

Syntax

expression.ERF_PRECISE(arg1);

expression - A variable that represents a ApiWorksheetFunction class.

Parameters

NameRequired/OptionalData typeDefaultDescription
arg1RequiredApiRange | ApiName | numberThe lower bound for integrating the error function.

Returns

number

Example

let worksheet = Api.GetActiveSheet();
let func = Api.GetWorksheetFunction();
worksheet.GetRange("A1").SetValue(func.ERF_PRECISE(0.745));