IntRational
com.phasmidsoftware.number.core.inner.IntRational
object IntRational
An object providing an extractor method for converting a Rational number into a pair of integers representing its numerator and denominator.
The IntRational object simplifies working with Rational numbers when you need to decompose them into integers for further processing or pattern matching.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
IntRational.type
Members list
In this article