08.04.2010, 12:19

Ok today i got pwned by pawn when i din`t knew how to make universal calculator like i enter string "(5+5)/2" and placing it into
in my eyes that should look
but it looked a way different, so have anyone any sugestions how to calculate string it can by step b step method like "chose: symbol or number ", "select symbol", "symbol added" and so on, hope you understand me and thanks in advance

step by step i mean that i pick number:

then pick symbol +-*/ () sqrt this time (

then symbol *

and then 9

and lastly )

i press finish

and i get answer to that one formula

Код:

answer=string

Код:

answer=(5+5)/2

step by step i mean that i pick number:

Код:

formula=15

Код:

formula=15(9

and then 9

and lastly )

i press finish

and i get answer to that one formula

Код:

formula=15(9*9)