|
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
)
Public Function ToString (
format As String,
formatProvider As IFormatProvider
) As String
Request Example
View SourceParameters
- 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:
StringThe string representation of the
Rational.
Implements
IFormattableToString(String, IFormatProvider)See Also