Name | Description | |
---|---|---|
Fraction Constructor | Initializes a new instance of Fraction structure with the specified numerator and denominator. |
The following tables list the members exposed by Fraction.
Name | Description | |
---|---|---|
Fraction Constructor | Initializes a new instance of Fraction structure with the specified numerator and denominator. |
Name | Description | |
---|---|---|
Denominator | Gets or sets the denominator of the fraction. | |
Numerator | Gets or sets the numertor of the fraction. |
Addition | Defines the binary "+" operator. |
Division | Overloaded. Defines the binary "/" operator. |
Implicit Type Conversion | Overloaded. Converts the fraction to double. |
Logical Not | Defines the "!" operator. Note: "!" is used as simplify in here. |
Multiplication | Overloaded. Defines the binary "*" operator. |
Subtraction | Defines the binary "-" operator. |
Unary Negation | Defines the unary "-" operator. |