numnums library

Various useful num - esque types for constraining values.

Classes

Fraction
Immutable, all operations return new instances with math applied.
NaturalNumber
A mathematical Natural Number: an int > 0.

Functions

between(int start, int end) int
generate random number between the start and end. if the start and end are flipped, this will reverse the order.