Click or drag to resize
IRatio Interface

[This is preliminary documentation and is subject to change.]

Represents a ratio using BigIntegers.

Namespace: NForza.Transit
Assembly: Transit (in Transit.dll) Version: 0.8.1-alpha
Syntax
C#
public interface IRatio : IComparable, IComparable<IRatio>, 
	IEquatable<IRatio>

The IRatio type exposes the following members.

Methods
  NameDescription
Public methodCompareTo(Object)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from IComparable.)
Public methodCompareTo(T)
Compares the current object with another object of the same type.
(Inherited from IComparableIRatio.)
Public methodEquals
Indicates whether the current object is equal to another object of the same type.
(Inherited from IEquatableIRatio.)
Public methodGetValue
The value of the ratio as double.
Top
Properties
  NameDescription
Public propertyDenominator
Gets the denominator.
Public propertyNumerator
Gets the numerator.
Top
See Also