toDouble method

double toDouble()

转为 double

Implementation

double toDouble() => numerator / denominator;