Returns the natural logarithm of the gamma function.
Name | Type | Description |
arg1 | number | The value for which the natural logarithm of the gamma function will be calculated, a positive number. |
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();