BigInteger.ToString Method

Definition

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

Overload List

ToString() Returns a string representation of the number.
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

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