This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
Similar Threads
Arrays and Order-of-precedence
array confusion
Boolean Expression Evaluation Framework
Lambdas == closures == anonymous functions ?
Conditional if