Gunnar Mein
Gunnar Mein
Here is where this originated, if you are curious: nerdamer("1.885e-7*1e9") -> massive rounding errors math.js will do a good job in this form, terrible (like nerdamer) in the form above.
I think the real issue here is that the number is converted from scientific notation into a text decimal before finally making it into a fraction. A better approach for...
Correcting myself: That doesn't just go for scientific notation, but really all decimals, as the simple imprecision example above shows.