toDouble method

double toDouble()

Converts the BigRational to a double.

Implementation

double toDouble() {
  return numerator / denominator;
}