RawSRational class

RawSRational class

Represents signed rational number.

The RawSRational type exposes the following members:

Constructors

Constructor Description
__init__(self, numerator, denominator) Initializes a new instance of the RawSRational class.

Properties

Property Description
numerator Gets numerator.
denominator Gets denominator.
value Gets actual value represented as double.

Methods

Method Description
equals(, rational, other) Compares pair of RawSRational.
equals(self, other) Indicates whether the current object is equal to another object of the same type.

See Also