Click or drag to resize
Accord.NET (logo)

RationalToString Method (String, IFormatProvider)

Converts this instance to its equivalent string representation.

Namespace:  Accord.Math
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public string ToString(
	string format,
	IFormatProvider formatProvider
)
Request Example View Source

Parameters

format
Type: SystemString
The format to use for both the numerator and the denominator.
formatProvider
Type: SystemIFormatProvider
An object that has culture-specific formatting information.

Return Value

Type: String
The string representation of the Rational.

Implements

IFormattableToString(String, IFormatProvider)
See Also