Click or drag to resize

Rational Methods

The Rational type exposes the following members.

Public methodEquals(Object)
Determines whether the specified Object, is equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodStatic memberEquals(Rational, Rational)
Equalses the specified rat1.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberParse
Parses a string in the form of numerator/denominator to a Rational value.
Public methodToString
Returns a string representation of the fraction (numerator/denominator)
(Overrides ValueTypeToString.)
See Also