Click or drag to resize
Accord.NET (logo)

Rational  Conversion (Rational to Int16)

Converts the specified Rational to a Int16.

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

Parameters

x
Type: Accord.MathRational
The Rational to convert.

Return Value

Type: Int16
A Int16.
See Also