Bignumber.js: Detailed Overview & Metrics

v9.1.2(about 1 year ago)

This package was last published over a year ago. It may not be actively maintained.Types definitions are bundled with the npm packageNumber of direct dependencies: 0Monthly npm downloads

BigNumber.js is a JavaScript library that provides arbitrary-precision arithmetic for working with large numbers that exceed the limitations of standard JavaScript numbers. It allows precise calculations with integers and floating-point numbers, ensuring accuracy in mathematical operations. BigNumber.js is commonly used in financial applications, cryptography, and any scenario where precision is crucial.

Compared to native JavaScript number handling, BigNumber.js offers the ability to work with numbers of any size without losing precision. It provides a wide range of mathematical functions and operations, making it a versatile tool for handling complex numerical computations.

Alternatives:
decimal.js+
mathjs+
big.js+
bn.js+
jsbi+
bignum+
big-integer+
long+
bigdecimal+
decimal.js-light+

Tags: javascriptarbitrary-precisionmathematicsbig-numbersfinancial