Transforms a fraction to a double.
Fraction numerator as int
Fraction denominator int
pointer to a double for the result