Complex<T>.ToString Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

ToString() Converts the numeric value of this instance to its equivalent string representation.
ToString(IFormatProvider) Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.
ToString(String) Converts the numeric value of this instance to its equivalent string representation using the specified format.
ToString(String, IFormatProvider) Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.

ToString

Converts the numeric value of this instance to its equivalent string representation.
C#
public override string ToString()

Return Value

String
The string representation of the value of this instance.

ToString(IFormatProvider)

Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.
C#
public string ToString(
	IFormatProvider provider
)

Parameters

provider  IFormatProvider
An IFormatProvider that supplies culture-specific formatting information.

Return Value

String
The string representation of the value of this instance.

ToString(String)

Converts the numeric value of this instance to its equivalent string representation using the specified format.
C#
public string ToString(
	string format
)

Parameters

format  String
A format string.

Return Value

String
The string representation of the value of this instance.

Exceptions

FormatExceptionformat is invalid.

ToString(String, IFormatProvider)

Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.
C#
public string ToString(
	string format,
	IFormatProvider provider
)

Parameters

format  String
A format string.
provider  IFormatProvider
An IFormatProvider that supplies culture-specific formatting information.

Return Value

String
The string representation of the value of this instance.

Exceptions

FormatExceptionformat is invalid.

See Also