Returns a complex number raised to an integer power.
Name | Type | Description |
arg1 | any | Is a complex number you want to raise to a power. |
arg2 | any | Is the power to which you want to raise the complex number. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oFunction = Api.GetWorksheetFunction(); oWorksheet.GetRange("A1").SetValue(oFunction.IMPOWER("-2+2.5i", -3)); builder.SaveFile("xlsx", "IMPOWER.xlsx"); builder.CloseFile();