react-native-bignumber
react-native-bignumber copied to clipboard
bignumber.js support?
Hi @mrousavy I just wonder if this will also support easy drop-in replacement for bignumber.js
?
Also interested. If I will have time I will try to compare bignumber.js API vs bn.js API and that should give us answer.
I think a key difference would be floating point support. bn.js doesn't have it and bignumber.js does.
This lib does support floating points natively, however to make it compatible with bn.js we didn't expose that API. We can easily create an API layer for bignumber.js as well and have floating point operations - it would also be a lot faster than bignumber.js
Reach out to me over email if you want us to work on this
Hi, @mrousavy could you support bignumber.js
? I think it's very useful, thx your help..