src/Alg/Math/ComplexNumber.php
public function toString()
	{
		$code = $this->getRealPart();
		if( $this->image >= 0 )
			$code .= "+".$this->getImagePart()."i";
		else
			$code .= "".$this->getImagePart()."i";
		return $code;
	}
public function toString()
	{
		$code = $this->getRealPart();
		if( $this->image >= 0 )
			$code .= "+".$this->getImagePart()."i";
		else
			$code .= "".$this->getImagePart()."i";
		return $code;
	}
public function toString ( ) { $ code = $ this -> getRealPart ( ) ; if ( $ this -> image >= 0 ) $ code .= "+" . $ this -> getImagePart ( ) . "i" ; else $ code .= "" . $ this -> getImagePart ( ) . "i" ; return $ code ; }
Returns the complex number as a representative string.
@access		public
@return		mixed
Returns the complex number as a representative string .