http://mikemcl.github.io/decimal.js-light/#precision defaults to 20 which is probably excessive and may lead to incorrect arithmetic. Since Decimal.config is per-constructor and not global we'll probably need to make a wrapper class that sets a consistent precision value.
http://mikemcl.github.io/decimal.js-light/#precision defaults to 20 which is probably excessive and may lead to incorrect arithmetic. Since Decimal.config is per-constructor and not global we'll probably need to make a wrapper class that sets a consistent precision value.