This package is going to be very useful to me an I really appreciate your doing it. There is this package which does something similar so I though you could use some inspiration from it (especially those convenience functions/methods it provides). D has the ability to let your modify the behavior of operators so not all might make sense to implement as a convenience function/methods though.
Here at https://github.com/MikeMcl/decimal.js/
This package is going to be very useful to me an I really appreciate your doing it. There is this package which does something similar so I though you could use some inspiration from it (especially those convenience functions/methods it provides). D has the ability to let your modify the behavior of operators so not all might make sense to implement as a convenience function/methods though.
Here at https://github.com/MikeMcl/decimal.js/