GAMMA
function GAMMA(arg1: number = null): number
Description
Returns the gamma function value.
Parameters
- arg1
number
null The value for which the gamma function will be calculated.
Returns
number
Try It
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
var ans = oFunction.GAMMA(2.7);
oWorksheet.GetRange("B2").SetValue(ans);