davidedc / Algebrite

Computer Algebra System in Javascript (Typescript)
http://algebrite.org
MIT License
968 stars 59 forks source link

Can't return numerical results < 1e-6. Can't substitute variables with scientific notation #168

Open 28raining opened 1 year ago

28raining commented 1 year ago

I was trying to substitute A with 1.5e-12. The tool crashes, can't support 'e'

If you put in 0.0000000000015, then try to return the same value, that is rounded to 6 decimal points? Probably there needs to be a toNumber() function like there's a toString()