Click or drag to resize
Accord.NET (logo)

Rational  Conversion (Rational to UInt16)

Converts the specified Rational to a UInt16.

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

Parameters

x
Type: Accord.MathRational
The Rational to convert.

Return Value

Type: UInt16
A UInt16.
See Also