NORMSINV
Returns the inverse of the standard normal cumulative distribution (has a mean of zero and a standard deviation of one).
Syntax
expression.NORMSINV(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();
oWorksheet.GetRange("A1").SetValue(0.25);
//method params
var value = oWorksheet.GetRange("A1").GetValue();
var oFunction = Api.GetWorksheetFunction();
var ans = oFunction.NORMSINV(value);
oWorksheet.GetRange("C1").SetValue(ans);