IMAGINARY

Returns the imaginary coefficient of a complex number.

Sample Usage

IMAGINARY("2+3j")
IMAGINARY(C5)

Syntax

IMAGINARY(complex_number)

  • complex_number - The complex number whose imaginary coefficient is to be computed.

Examples

IMAGINARY("2+3j") returns a value of 3.
IMAGINARY(C5) returns the imaginary coefficient of the complex number contained in C5.