3 ms·
I woke in crypto and we use bignumber.js. even so, developers default to just using Number and built in math. Having Decimal be native would make it a lot easie
by Osiris 5y ago
I woke in crypto and we use bignumber.js. even so, developers default to just using Number and built in math. Having Decimal be native would make it a lot easier to be consistent in the code.
- eyelidlessness 5y agoOh for sure! I definitely found myself being a lone voice when I saw precision-dependent arithmetic being done with native floats and asking to use a decimal library. I was mostly coming at the question as “I wonder how much API overlap there is for people who already adopted libraries”.