sloisel / numeric

Numerical analysis in Javascript
http://www.numericjs.com/
Other
1.42k stars 176 forks source link

Fixed 100 rendered as 1e2 by prettyPrint #64

Open dniku opened 9 years ago

dniku commented 9 years ago

Due to how prettyPrint was implemented, 100 would always be rendered as 1e2. Fixed that particular error. Still leaves open the issue of rendering 10000 as 1e4, for example.