# Documentation/How Tos/Calc: IMSUB function

From Apache OpenOffice Wiki

< Documentation | How Tos

## Contents

## IMSUB

Returns the difference between 2 complex numbers.

This function is only available if the **Analysis AddIn** is installed.

### Syntax:

**IMSUB(complexnum1; complexnum2)**

- Returns
-**complexnum1**, where**complexnum2**and**complexnum1**are complex numbers as text, or references to cells containing complex numbers as text.**complexnum2**

### Example:

**IMSUB("7+5i"; "3+2i")**

- returns
as text.**4+3i**

**IMSUM(A1; A2)**

- where cell A1 contains the text
and cell A2 contains**3+4i**, returns**1+2i**as text.**2+2i**

### Issues:

- This function currently appears in the AddIn category of the Function Wizard.

**See Also**