The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 5 JavaScript Bigdecimal 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.
-
Basenumber.js
A BigDecimal library for arbitrary precision that allows you to work with numbers in different bases from 2 to 36.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
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.
JavaScript Bigdecimal related posts
- Decoding Why 0.6 + 0.3 = 0.8999999999999999 in JS and How to Solve?
- Solving the "floating point precision" problem with... floats?
- BigDecimal equivalent. What do you use?
- [AskJS] Are there numeric textbox widgets with built-in support for big numbers like decimal.js?
- Working with Currency Values in TypeScript
- Best way to deal with excessive decimal results in calculator
- How can i prove that 0.1 + 0.2 = 0.3 is there like a function or ANYTHING i can do to bypass this error which occurs in most programming languages
-
A note from our sponsor - WorkOS
workos.com | 27 Apr 2024
Index
What are some of the best open-source Bigdecimal 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 | break_eternity.js | 114 |
5 | Basenumber.js | 7 |
Sponsored