What is it?

Big.js is a "bignum" implementation for JavaScript. This means you can use it to store numbers of any magnitude at any precision, and perform math on them within JavaScript.


Primitive numbers in JavaScript have a fixed precision. Usually this is not a problem, but if high-accuracy is important in your script, primitives may fail.

Big.js is the answer to this problem. Big objects can store all the significant figures that you throw at it and even do math on them.

Where can I get it?

Big.js is still under development, but the source code is available at GitHib.