adamwdraper / Numeral-js

A javascript library for formatting and manipulating numbers.
http://numeraljs.com
MIT License
9.66k stars 927 forks source link

fix E+/- bug #757

Open yasin459 opened 2 years ago

yasin459 commented 2 years ago

referencing: error when parsing science notation #470 we had a problem with exponentials, when the user entered E(instead of e), the function would not work so I changed the regexes, lower cased the string, and added some tests(also example in #470 )