The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 6 JavaScript Bignumber Projects
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
break_eternity.js
A Javascript numerical library to represent numbers as large as 10^^1e308 and as small as 10^-10^^1e308. Sequel to break_infinity.js, designed for incremental games.
-
eslint-plugin-big-number-rules
Enforce (or automatically fix) finance-safe calculations using BigNumber or similar libraries.
Project mention: eslint-plugin-big-number-rules: Enforce finance-safe calculations (helps 0.1 + 0.2 really equal 0.3) | /r/javascript | 2023-06-03If you use floating-points for currency (instead of whole-numbers like you probably should) libraries like bignumber.js help keep your code away from the binary floating-point pitfalls of IEEE-754 which manifests in the standard JavaScript number type:
Project mention: Decoding Why 0.6 + 0.3 = 0.8999999999999999 in JS and How to Solve? | dev.to | 2023-11-16ii) Third-Party Libraries There are various libraries like math.js, decimal.js, big.js that solve the problem. Each library functions according to its documentation. This approach is comparatively better.
Project mention: eslint-plugin-big-number-rules: Enforce finance-safe calculations (helps 0.1 + 0.2 really equal 0.3) | /r/javascript | 2023-06-03And they did bite me, so I wrote this eslint plugin to help out a FinTech app that was experiencing a number of such bugs.
JavaScript Bignumber related posts
- Floats Are Weird
- Decoding Why 0.6 + 0.3 = 0.8999999999999999 in JS and How to Solve?
- Front-End Dilemmas: Tackling Precision Problems in JavaScript with Decimal.js
- Rant - Javascript should be able to do simple f**king math by now
- eslint-plugin-big-number-rules: Enforce finance-safe calculations (helps 0.1 + 0.2 really equal 0.3)
- Solving the "floating point precision" problem with... floats?
- COBOL: You’re thinking about it wrong – GCN
-
A note from our sponsor - WorkOS
workos.com | 28 Apr 2024
Index
What are some of the best open-source Bignumber projects in JavaScript? This list will help you:
Project | Stars | |
---|---|---|
1 | bignumber.js | 6,517 |
2 | decimal.js | 6,113 |
3 | big.js | 4,679 |
4 | react-native-bignumber | 329 |
5 | break_eternity.js | 114 |
6 | eslint-plugin-big-number-rules | 12 |
Sponsored