jasonpetsod / loony

0 stars 0 forks source link

Set Decimal.config.precision properly #35

Closed jasonpetsod closed 7 years ago

jasonpetsod commented 7 years ago

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.

jasonpetsod commented 7 years ago

Moved to https://loony.phacility.com/T19.