GAUSS
Calculates the probability that a member of a standard normal population will fall between the mean and arg1 standard deviations from the mean.
Syntax
expression.GAUSS(arg1);
expression
- A variable that represents a ApiWorksheetFunction class.
Parameters
Name | Required/Optional | Data type | Default | Description |
---|---|---|---|---|
arg1 | Required | ApiRange | ApiName | number | The value for which the distribution will be calculated. |
Returns
number
Example
- Code
- Result
let worksheet = Api.GetActiveSheet();
let func = Api.GetWorksheetFunction();
let ans = func.GAUSS(2);
worksheet.GetRange("B2").SetValue(ans);