|
-
March 18th, 2008, 03:29 PM
#1
eval in java??
I'm trying to make this basic calculator in java just to expand my knowledge a bit. But i've already came across a problem.
The application has a textfield where you can enter a sum like: 4+(2*8)
What i wanted to use is a funtion called eval(), but Java doesn't seem to have this. Is there an equivallent? Or how could i else calculate stuff like that?
Thanks for any help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|