Rational Methods |
The Rational type exposes the following members.
Name | Description | |
---|---|---|
Equals(Object) |
Determines whether the specified Object, is equal to this instance.
(Overrides ValueTypeEquals(Object).) | |
Equals(Rational, Rational) |
Equalses the specified rat1.
| |
GetHashCode |
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Parse | Parses a string in the form of numerator/denominator to a Rational value. | |
ToString | Returns a string representation of the fraction (numerator/denominator) (Overrides ValueTypeToString.) |