Results 1 to 2 of 2
- 11-22-2010, 10:06 AM #1
Member
- Join Date
- Jul 2010
- Location
- chennai
- Posts
- 3
- Rep Power
- 0
How to evaluate the mathematical expression from the string in J2ME
How to evaluate the mathematical expression from the string in J2ME.
For example a string containing "2*4".From the string i want evaluate the mathematical expression and get the result as 8 (2*4).How should i done this in J2ME.
In "Java™ Platform Standard Ed. 6 " there is a package namely "javax.script" is used for evaluating mathematical expressions from string.Like that any package or any class is available for J2ME to evaluate the mathematical expression from the string.
- 11-22-2010, 09:10 PM #2
Member
- Join Date
- Nov 2010
- Posts
- 7
- Rep Power
- 0
Similar Threads
-
Create program to evaluate prefix expression
By Debonairj in forum New To JavaReplies: 1Last Post: 08-12-2010, 02:35 AM -
Evaluate a string expression
By aparna_pall in forum New To JavaReplies: 2Last Post: 04-10-2010, 03:53 AM -
java regular expression to search block/string/word exist in a paragraph?
By sidharth in forum Advanced JavaReplies: 2Last Post: 11-11-2009, 05:56 AM -
Help: Mathematical Expressions
By JohnAtick in forum New To JavaReplies: 3Last Post: 03-09-2009, 06:02 PM -
String to Expression? calculator app question
By Belbis in forum New To JavaReplies: 2Last Post: 12-24-2008, 07:13 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks