toString method

  1. @override
String toString()
override

Return a String representation of this decimal.

WARNING: when hasFinitePrecision is false the decimal representation is truncated to the 10th decimal unit.

Implementation

@override
String toString() => _rational.toDecimalString();