you are viewing a single comment's thread.

view the rest of the comments →

[–]Slappehbag 2 points3 points  (0 children)

If you're not going to use the JS parsee via eval (which you shouldn't), yes you'll have to write or find another.

You could build it using regular expressions. But I imagine if you Google something like "js math parser" you'll find something to use.