Support fractional quantities.
Merge pull request #19 from teajay/fracts

Support fractional quantities.