TRY NEW VERSION

GAMMALN_PRECISE

GAMMALN_PRECISE(arg1) → { number }

Returns the natural logarithm of the gamma function.

Parameters:

Name Type Description
arg1 number

The value for which the natural logarithm of the gamma function will be calculated, a positive number.

Returns:

Type
number

Example

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


Resulting document