approximate method

  1. @override
Rational approximate([
  1. int? digits
])
override

Gives an approximation of the value.

Implementation

@override
// This should NOT be approximated
Rational approximate([int? digits]) => Rational.fromInt(0);