Fraction.js

Tired of inprecise numbers represented by doubles? Have a look at Fraction.js, which represents rational numbers as two integers in the form of n / d.