Bignumber.js
Bignumber.js
https://github.com/MikeMcl/bignumber.js/
Arbitrary-precision decimal and non-decimal arithmetic for Node.js
Features:
- Faster, smaller, and perhaps easier to use than Javascript versions of Java's BigDecimal - 5 KB minified and gzipped - Simple API but full-featured - Works with numbers with or without fraction digits in bases from 2 to 36 inclusive - Replicates the toExponential, toFixed, toPrecision and toString methods of Javascript's Number type - Includes a toFraction and a squareRoot method - Stores values in an accessible decimal floating point format - No dependencies - Comprehensive documentation and test set
If an even smaller and simpler library is required see big.js. It's half the size but only works with decimal numbers and only has half the methods. It neither allows NaN or Infinity, or have the configuration options of this library.
This package provides bignumber support to Node.js.
Download
http://ftp.debian.org/debian/pool/main/b/bignumber.js/bignumber.js_1.3.0+dfsg.orig.tar.gz
Categories
Licensing
License
Verified by
Verified on
Notes
License
Verified by
Debian: Mike Gabriel <sunweaver@debian.org>
Verified on
15 March 2014
Notes
License: bsd-3-clause
License
Verified by
Debian: Mike Gabriel <sunweaver@debian.org>
Verified on
15 March 2014
Notes
License: expat
Leaders and contributors
Contact(s) | Role |
---|---|
Michael Mclaughlin | contact |
Resources and communication
Audience | Resource type | URI |
---|---|---|
Download | https://github.com/MikeMcl/bignumber.js | |
Debian (Ref) | https://tracker.debian.org/pkg/bignumber.js |
Software prerequisites
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.