toDouble method

double toDouble()

Returns this as a floating-point value.

Implementation

double toDouble() {
  return nominator / denominator;
}