COMPLEX function

COMPLEX(Real, Imaginary, Suffix?) COMPLEX(Real; Imaginary; Suffix?)

Real

Number or { Number }

The real part of the complex number.

Imaginary

Number or { Number }

The imaginary part of the complex number.

Suffix

Text or { Text } (optional)

The suffix ("i" or "j"). If omitted, it is assumed to be "i".

Returns

Text or { Text }

A complex number as text.

Returns a complex number as text.

Examples

COMPLEX(24, 2)COMPLEX(24; 2)

Returns "24+2i".

COMPLEX(24, 2, "j")COMPLEX(24; 2; "j")

Returns "24+2j".

COMPLEX({ 24, 48 }, 2, "j")COMPLEX({ 24; 48 }; 2; "j")

Returns the array { "24+2j", "48+2j" }{ "24+2j"; "48+2j" }.