PDA

Click to See Complete Forum and Search --> : Does anyone know of an eval class


RCharlton
Feb 12th, 2001, 02:07 PM
Which evaluates a mathematical expression and is not part of a big package? Just a simple eval ie

blah.eval("6+(3*cos78)+7^2");

Thanks

RCharlton
Feb 14th, 2001, 02:23 AM
I think it has something to do with:

Converting the equation to postfix and then evaluating the postfix.

Any ideas?

Thanks,

Richard