PHI
Returns the value of the density function for a standard normal distribution.
Syntax
expression.PHI(arg1);
expression
- A variable that represents a ApiWorksheetFunction class.
Parameters
Name | Required/Optional | Data type | Default | Description |
---|---|---|---|---|
arg1 | Required | ApiRange | ApiName | number |
Returns
number
Example
const oWorksheet = Api.GetActiveSheet();
//method params
var number = 5;
oWorksheet.GetRange("A1").SetValue(number);
var oFunction = Api.GetWorksheetFunction();
var ans = oFunction.PHI(number);
oWorksheet.GetRange("C1").SetValue(ans);