This documentation is for the old version. Go to the latest Graphics Mill docs

Rational Methods

The Rational type exposes the following members.


Name Description
Public method Equals

Compares this Rational with specified object.

(Overrides ValueType.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode

Returns a hash code for this Rational class.

(Overrides ValueType.GetHashCode().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString

Returns string representation of this Rational class instance.

(Overrides ValueType.ToString().)


Name Description
Public operator Static member Equality

Compares Rational values for equality.

Public operator Static member Implicit

Converts this Rational class instance into Single value.

Public operator Static member Inequality

Compares Rational values for inequality.

See Also