toDouble method

double toDouble()

A floating point representation of the fraction.

Implementation

double toDouble() => numerator / denominator;