Imaginary<T>.To String Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
ToString() | Converts the numeric value of this instance to its equivalent string representation. |
ToString( | Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information. |
ToString( | Converts the numeric value of this instance to its equivalent string representation using the specified format. |
ToString( | 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.
public override string ToString()
Return Value
StringThe 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.
public string ToString(
IFormatProvider provider
)
Parameters
- provider IFormatProvider
- An IFormatProvider that supplies culture-specific formatting information.
Return Value
StringThe 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.
public string ToString(
string? format
)
Parameters
- format String
- A format string.
Return Value
StringThe string representation of the value of this instance.
Exceptions
Format | format 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.
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
StringThe string representation of the value of this instance.
Exceptions
Format | format is invalid. |