truncateToDouble method

double truncateToDouble()

Returns the integer obtained by discarding any fractional digits from this.

The result is a double.

Implementation

double truncateToDouble() => _rational.truncateToDouble();