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

Rational Members

The Rational type exposes the following members.

Constructors

Name Description
Public method Rational Overloaded.

Creates new Rational instance.

Methods

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().)

Operators

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.

Properties

Name Description
Public property Dividend

Gets/sets dividend of the rational number.

Public property Divider

Gets/sets divider of the rational number.

See Also

Reference