The FIRational type exposes the following members.

Constructors

  NameDescription
FIRationalOverloaded.

Methods

  NameDescription
CompareToOverloaded.
EqualsOverloaded.
GetHashCode
Returns a hash code for this FIRational structure.
(Overrides ValueType..::.GetHashCode()()().)
ToStringOverloaded.
Truncate
Returns the truncated value of the fraction.

Operators

  NameDescription
Addition
Standard implementation of the operator.
Decrement
Standard implementation of the operator.
Division
Standard implementation of the operator.
Equality
Standard implementation of the operator.
ExplicitOverloaded.
GreaterThan
Standard implementation of the operator.
GreaterThanOrEqual
Standard implementation of the operator.
ImplicitOverloaded.
Increment
Standard implementation of the operator.
Inequality
Standard implementation of the operator.
LessThan
Standard implementation of the operator.
LessThanOrEqual
Standard implementation of the operator.
Modulus
Standard implementation of the operator.
Multiply
Standard implementation of the operator.
OnesComplement
Returns the reciprocal value of this instance.
Subtraction
Standard implementation of the operator.
UnaryNegation
Standard implementation of the operator.
UnaryPlus
Standard implementation of the operator.

Fields

  NameDescription
Epsilon
Represents the smallest positive FIRational value greater than zero. This field is constant.
MaxValue
Represents the largest possible value of FIRational. This field is constant.
MinValue
Represents the smallest possible value of FIRational. This field is constant.

Properties

  NameDescription
Denominator
The denominator of the fraction.
IsInteger
Returns whether the fraction is representing an integer value.
Numerator
The numerator of the fraction.

See Also