IMNEG (negative value of a complex number)

<< Click to Display Table of Contents >>

IMNEG (negative value of a complex number)

Syntax:

IMNEG(ComplexNumber)

Description:

This returns the negative of a complex number.

ComplexNumber must be a complex number in x+yi or x+yj format. Tip: Complex numbers can be created with the COMPLEX function.

Example:

IMNEG("2+4i") returns -2-4i

Compatibility notes:

This function does not exist in Microsoft Excel. If you save a document in Excel format, all calculations using this function will be replaced with their current result as a fixed value.

Tip: As an alternative to IMNEG(A1), you can also use the following formula:

COMPLEX(-IMREAL(A1), -IMAGINARY(A1))

See also:

COMPLEX