Closed biswajit-togai closed 1 year ago
Unfortunately I cannot accept this PR. BigDecimal has performance implications and the JS version is subject to the same floating point issue as any other language using IEEE754. You can try the rule {"+": [0.1, 0.2]}
on https://jsonlogic.com/play.html to see for yourself.
Resolving #32 by using
BigDecimal
instead ofdouble