Returns the gamma function value.
Name | Type | Description |
arg1 | number | The value for which the gamma function will be calculated. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oFunction = Api.GetWorksheetFunction(); var ans = oFunction.GAMMA(2.7); oWorksheet.GetRange("B2").SetValue(ans); builder.SaveFile("xlsx", "GAMMA.xlsx"); builder.CloseFile();