BigRational.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 rational number.
ToString(String, IFormatProvider) Returns a string representation of a rational number.

ToString

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

Return Value

String
A string representation of the rational number.

ToString(String, IFormatProvider)

Returns a string representation of a rational number.
C#
public string ToString(
	string? format,
	IFormatProvider? provider
)

Parameters

format  String
A format string.
provider  IFormatProvider
An IFormatProvider instance.

Return Value

String
A string representation of the rational number.

Implements

IFormattable.ToString(String, IFormatProvider)

See Also