Complex.prototype.toString

Returns a string representation of the complex number.

Syntax

toString

Return value

A string representation of the complex number.

Examples

(3+2.5*I).toString()
"3+2.5*I"