fractional
a fraction arithmetic library written in javascript.
npm install fractional
Usage
var Fraction = Fraction // Create a new fraction with the new keyword: 73// 1 1/6 73// 4 2/3 310// 77/90 025// 5/12 035// 1/10
It's basic arithmetic
Fractional provides a simple interface to add, subtract, multiply, and divide fractions.
Fractions are represented in most-normalized form.
License
MIT
Author
Erik Garrison erik.garrison@gmail.com