TRY NEW VERSION

GAUSS

GAUSS(arg1) → { number }

Calculates the probability that a member of a standard normal population will fall between the mean and arg1 standard deviations from the mean.

Parameters:

Name Type Description
arg1 number

The value for which the distribution will be calculated.

Returns:

Type
number

Example

Copy code
builder.CreateFile("xlsx");
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
var ans = oFunction.GAUSS(2);
oWorksheet.GetRange("B2").SetValue(ans);
builder.SaveFile("xlsx", "GAUSS.xlsx");
builder.CloseFile();


Resulting document