GAMMALN_PRECISE
function GAMMALN_PRECISE(arg1: number = null): number
Description
Returns the natural logarithm of the gamma function.
Parameters
- arg1
number
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_PRECISE(0.5);
oWorksheet.GetRange("B2").SetValue(ans);