Returns the result of a number raised to a power.
Name | Type | Description |
arg1 | number | Is the base number, any real number. |
arg2 | number | Is the exponent, to which the base number is raised. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oFunction = Api.GetWorksheetFunction(); oWorksheet.GetRange("A1").SetValue(oFunction.POWER(23, 4)); builder.SaveFile("xlsx", "POWER.xlsx"); builder.CloseFile();