`toInt` implementation wrong?
flodiebold opened this issue · comments
Line 476 in d25fe30
Am I completely misunderstanding what toInt
is supposed to do, or should this rather be BigInt.from(10).pow(scale)
?
You are correct.
I've released 3.0.1 with your fixed applied and some additional unit tests.
Thanks!