|
Rational Conversion (Decimal to Rational)
|
Converts the specified
Decimal to a
Rational.
Namespace:
Accord.Math
Assembly:
Accord (in Accord.dll) Version: 3.8.0
Syntax public static explicit operator Rational (
decimal x
)
Public Shared Narrowing Operator CType (
x As Decimal
) As Rational
Request Example
View SourceParameters
- x
- Type: SystemDecimal
The Decimal to convert.
Return Value
Type:
RationalA
Rational.
See Also