Click or drag to resize
Accord.NET (logo)

Rational  Conversion (Rational to Decimal)

Converts the specified Rational to a Decimal.

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

Parameters

x
Type: Accord.MathRational
The Rational to convert.

Return Value

Type: Decimal
A Decimal.
See Also