roundToDouble method
Returns the integer value closest to this.
Rounds away from zero when there is no closest integer:
(3.5).round() == 4 and (-3.5).round() == -4.
The result is a double.
Implementation
double roundToDouble() => _rational.roundToDouble();