Quad.ToString Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

ToString() Returns a String representation of the number.
ToString(IFormatProvider) Formats the value of the current instance using the specified format.
ToString(String) Formats the value of the current instance using the specified format.
ToString(String, IFormatProvider) Formats the value of the current instance using the specified format.

ToString

Returns a String representation of the number.
C#
public override string? ToString()

Return Value

String
A String rerpresentation of this instance.

ToString(IFormatProvider)

Formats the value of the current instance using the specified format.
C#
public string ToString(
	IFormatProvider provider
)

Parameters

provider  IFormatProvider
The IFormatProvider to use to format the value or null to obtain the numeric format information from the current locale setting of the operating system.

Return Value

String
A String containing the value of the current instance in the specified format.

ToString(String)

Formats the value of the current instance using the specified format.
C#
public string ToString(
	string? format
)

Parameters

format  String
The String specifying the format to use or null to use the default format.

Return Value

String
A String containing the value of the current instance in the specified format.

ToString(String, IFormatProvider)

Formats the value of the current instance using the specified format.
C#
public string ToString(
	string? format,
	IFormatProvider? provider
)

Parameters

format  String
The String specifying the format to use or null to use the default format.
provider  IFormatProvider
The IFormatProvider to use to format the value or null to obtain the numeric format information from the current locale setting of the operating system.

Return Value

String
A String containing the value of the current instance in the specified format.

Implements

IFormattable.ToString(String, IFormatProvider)

See Also