decimal.js is an arbitrary-precision Decimal type for JavaScript.
Features
toExponential
, toFixed
, toPrecision
and toString
methods of JavaScript's Number typetoFraction
and correctly-rounded exp
, ln
, log
and sqrt
functionsSubscribe to email newsletter for latest jQuery plugins & tutorials.