GAMMALN

function GAMMALN(arg1: number = null): number

Description

Returns the natural logarithm of the gamma function.

Parameters

arg1numberdefault: null

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

Returns

number

Try It


var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
var ans = oFunction.GAMMALN(0.5);
oWorksheet.GetRange("B2").SetValue(ans);


Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).