Click or drag to resize
Accord.NET (logo)

Rational  Conversion (Int32 to Rational)

Converts the specified Int32 to a Rational.

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

Parameters

x
Type: SystemInt32
The Int32 to convert.

Return Value

Type: Rational
A Rational.
See Also