By mitchp
via github.com
Published: Nov 13 2012 / 10:16
This is a simple rational number class for the Kotlin programming language. It can be used to represent any number that can be expressed as one integer divided by another. It has the advantage that, unlike Floats or Doubles, it will not lose precision.
Add your comment