[]
Initializes a new instance of Fraction structure with the specified numerator and denominator.
public Fraction(double numerator, double denominator)
Type | Name | Description |
---|---|---|
double | numerator | A double that indicates the number written above the line in a common fraction to indicate the number of parts of the whole. |
double | denominator | A double that indicats the number written below the line in a common fraction that indicates the number of parts into which one whole is divided. |