|
|
Rational Operators and Type Conversions |
The Rational type exposes the following members.
| Name | Description | |
|---|---|---|
| Addition |
Adds two Rational values.
| |
| Decrement |
Decrements a Rational value.
| |
| Division |
Divides two Rational values.
| |
| Equality |
Gets whether two Rational values are numerically equivalent.
| |
| (Decimal to Rational) |
Converts the specified Decimal to a Rational.
| |
| (Double to Rational) |
Converts the specified Double to a Rational.
| |
| (Single to Rational) |
Converts the specified Single to a Rational.
| |
| (Rational to Int32) |
Converts the specified Rational to a Int32.
| |
| (Rational to UInt32) |
Converts the specified Rational to a UInt32.
| |
| (Rational to Int16) |
Converts the specified Rational to a Int16.
| |
| (Rational to UInt16) |
Converts the specified Rational to a UInt16.
| |
| (Rational to Int64) |
Converts the specified Rational to a Int64.
| |
| (Rational to UInt64) |
Converts the specified Rational to a UInt64.
| |
| (Rational to SByte) |
Converts the specified Rational to a SByte.
| |
| (Rational to Byte) |
Converts the specified Rational to a Byte.
| |
| (Rational to Single) |
Converts the specified Rational to a Single.
| |
| (Rational to Double) |
Converts the specified Rational to a Double.
| |
| (Rational to Decimal) |
Converts the specified Rational to a Decimal.
| |
| GreaterThan |
Gets whether a Rational values is greater than another.
| |
| GreaterThanOrEqual |
Gets whether a Rational values is greater than or equal to another.
| |
| (Byte to Rational) |
Converts the specified Byte to a Rational.
| |
| (Int16 to Rational) |
Converts the specified Int16 to a Rational.
| |
| (Int32 to Rational) |
Converts the specified Int32 to a Rational.
| |
| (Int64 to Rational) |
Converts the specified Int64 to a Rational.
| |
| (SByte to Rational) |
Converts the specified SByte to a Rational.
| |
| (UInt16 to Rational) |
Converts the specified UInt16 to a Rational.
| |
| (UInt32 to Rational) |
Converts the specified UInt32 to a Rational.
| |
| (UInt64 to Rational) |
Converts the specified UInt64 to a Rational.
| |
| Increment |
Increments a Rational value.
| |
| Inequality |
Gets whether two Rational values are numerically not equivalent.
| |
| LessThan |
Gets whether a Rational values is less than another.
| |
| LessThanOrEqual |
Gets whether a Rational values is less than or equal to another.
| |
| Modulus |
Gets the remainder that results from dividing two Rational values.
| |
| Multiply |
Multiplies two Rational values.
| |
| Subtraction |
Subtracts two Rational values.
| |
| UnaryNegation |
Gets the negated version of a Rational value.
| |
| UnaryPlus |
Gets the Rational value.
|