I’m curious how much diff there is with the existing BigDecimal packages (big.js & family). Their APIs look very similar, unsurprisingly. It would be great if a lot of existing code is already mostly compatible.
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.
Oh 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”.