Meaningless Drivel is fun!
The moose likes Beginning Java and the fly likes Expression evaluation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Expression evaluation" Watch "Expression evaluation" New topic

Expression evaluation


Joined: Sep 07, 2000
Posts: 16
I am looking for a class that will provide me simple mathematical expression evaluation. Do any of you have any idea whether any of the standard java classes support this or any other class elsewhere on the web/
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
Have you looked at the Math class?? It is full of math evaluation stuff. All of the methods are static - so you don't need an instance of Math to use the methods.

"JavaRanch, where the deer and the Certified play" - David O'Meara
I agree. Here's the link:
subject: Expression evaluation
jQuery in Action, 3rd edition