Click or drag to resize
Accord.NET (logo)

Rational  Conversion (Double to Rational)

Converts the specified Double to a Rational.

Namespace:  Accord.Math
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public static explicit operator Rational (
	double x
)
Request Example View Source

Parameters

x
Type: SystemDouble
The Double to convert.

Return Value

Type: Rational
A Rational.
See Also