Math parser?

HI guys.

I need to calculate a string as a math piece. E.i. "100*500/2.5" Is there a build in parser in the Math class to do this?

Hi, I have just written a few blog posts about building a math parser. There is an introduction, some basic knowledge about grammars, sample implementation written in Ruby and a test suite. You can find these posts here:

* Math Parser, Part 1: Introduction - Lukasz Wrobel * Math Parser, Part 2: Grammar - Lukasz Wrobel * Math Parser, Part 3: Implementation - Lukasz Wrobel * Math Parser, Part 4: Tests - Lukasz Wrobel

If you find the code useful, feel free to use it in your own program.