human-standard-token-abi
A JSON ABI for the Ethereum ERC 20 Token Standard (by danfinlay)
big.js
A small, fast JavaScript library for arbitrary-precision decimal arithmetic. (by MikeMcl)
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.
surveyjs.io
featured
human-standard-token-abi | big.js | |
---|---|---|
1 | 9 | |
92 | 4,679 | |
- | - | |
0.0 | 0.0 | |
over 5 years ago | about 1 year ago | |
JavaScript | JavaScript | |
- | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
human-standard-token-abi
Posts with mentions or reviews of human-standard-token-abi.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-04-30.
big.js
Posts with mentions or reviews of big.js.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-11-16.
-
Decoding Why 0.6 + 0.3 = 0.8999999999999999 in JS and How to Solve?
ii) 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.
-
Working with Currency Values in TypeScript
For financial applications, APIs commonly return currency values, balances, stock/currency positions, and other amounts as strings. The best way I've found to deal with this is to use a library like big.js.
-
Working with extremely large numbers?
Just for fun, using javascript library:
-
How are you handling your money?
Another different approach maybe to have the money represented in the decimal in your database at the decimal places of the currency with the highest decimal point you are going to be dealing with for example using Decimal(n, 2) in case of fiat, and perform your calculations in arbitrary-precision Decimal type. In javascript, using libraries like Big.js , Decimal.js will be of help.
-
Made my first JavaScript project, the calculator!
With that said, using a library like big.js will solve both this and the potentially unsafe eval use:
- Ask HN: Open-source projects that handle monetary values properly
- Is there a way to monitor the price on pancake swap through an API?
-
Why is 7.9 - 5 = 2.90000004?
It will explain this weird behavior. You have to use a special lib for precise floating point math. Here is one: big.js.
What are some alternatives?
When comparing human-standard-token-abi and big.js you can also consider the following projects:
pancake-swap-core - Core smart contracts
v2-core - 🦄 🦄 Core smart contracts of Uniswap V2
bsc-ecosystem - A guide to available tools, components, and platforms for developing applications on BSC.