(self, prec: int = 10)
| 595 | return Fraction(self._num, self._den) |
| 596 | |
| 597 | def as_decimal(self, prec: int = 10) -> str: |
| 598 | ctx = getcontext() |
| 599 | ctx.prec = prec |
| 600 | return str(Decimal(self._num) / Decimal(self._den)) |
| 601 | |
| 602 | def as_string(self) -> str: |
| 603 | return f"{self._num}/{self._den}" |
nothing calls this directly
no outgoing calls
no test coverage detected