RationalExtension extension
- on
-
- Rational
Methods
-
power(
int exponent) → Rational - Allows to calculate the power of numbers even if the exponent is negative
-
toStringAsPrecisionFast(
int requiredPrecision) → String - Provides a faster approach than the orginal method