Click or drag to resize
Accord.NET (logo)

RationalParse Method (String, IFormatProvider)

Converts the string representation of a number to its Rational representation.

Namespace:  Accord.Math
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public static Rational Parse(
	string s,
	IFormatProvider provider
)
Request Example View Source

Parameters

s
Type: SystemString
A string that represents a number.
provider
Type: SystemIFormatProvider
An object that supplies culture-specific information about the format of s.

Return Value

Type: Rational
The parsed Rational value.
See Also