RawRational class

RawRational class

Represents a rational number.

The RawRational type exposes the following members:

Constructors

Constructor Description
init Initializes a new instance of the RawRational class.

Methods

Method Description
equals Indicates whether the current object is equal to another object of the same type.
equals Indicates whether the current object is equal to another object of the same type.
equals_object
equals_raw_rational
equals_static Compares a pair of RawRational numbers.
get_hash_code Returns a hash code for this instance.
to_string Returns a string that represents this instance.

Properties

Property Description
denominator The denominator.
numerator The numerator.
value The rational value.

See Also