Returns the difference of two complex numbers.
Name | Type | Description |
arg1 | any | Is the complex number from which to subtract inumber2. |
arg2 | any | Is the complex number to subtract from inumber1. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oFunction = Api.GetWorksheetFunction(); oWorksheet.GetRange("A1").SetValue(oFunction.IMSUB("1+3i", "-2+2.5i")); builder.SaveFile("xlsx", "IMSUB.xlsx"); builder.CloseFile();