The Rational type exposes the following members.
Name | Description | |
---|---|---|
Rational | Overloaded. Initializes a new instance of the Rational class. |
Name | Description | |
---|---|---|
Equals |
Tests whether the specified object is a Rational instance and is equivalent to this Rational. (Overrides Object.Equals(Object).) |
|
Finalize | (Inherited from Object.) | |
GetHashCode |
Returns a hash code for this Rational. (Overrides Object.GetHashCode().) |
|
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString |
Returns a string that represents the current object. (Overrides Object.ToString().) |
Name | Description | |
---|---|---|
Equality |
Tests whether two specified Rational instances are equivalent. |
|
Inequality |
Tests whether two specified Rational instances are different. |
Name | Description | |
---|---|---|
Dividend |
Gets or sets a dividend of the rational number. |
|
Divider |
Gets or sets a divider of the rational number. |