toDouble method

double toDouble()

Floating point representation of the mixed fraction.

Implementation

double toDouble() => whole + numerator / denominator;