Algebrite
Algebrite copied to clipboard
Float and toString
Floating an expression and then printing it using toString() adds dots after the 6th decimal point. This behaviour changed at some point.
Algebrite.float('1/10000000').toString() // 0.000000...
So my issue now is, how do I actually get the precision I had before?
I kinda solved it myself by using my own build instead of the one on npm. I created a pull request here, where I just changed the number of decimal points to 20. A proper solution would be to have a setting that could be changed after init.