jiggzson / nerdamer

a symbolic math expression evaluator for javascript
http://www.nerdamer.com
MIT License
518 stars 82 forks source link

Extra set of parentheses = constants get lost in expr.evaluate() #647

Open gunnarmein-ts opened 2 years ago

gunnarmein-ts commented 2 years ago

compare nerdamer("sigma=1000*m").evaluate().text() ---> 'sigma=1000m' to `nerdamer("sigma=(1000m)").evaluate().text()` ---> 'sigma=m'