struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sachin" <sachin.he...@paradyne.co.in>
Subject Help : execute a equation in String format
Date Tue, 04 Jan 2005 06:33:36 GMT
hi , 

I have equation in String format
like 

String equ = "((123*123+567-7899*340)/1234)*1000";

now i want to execute this equation and get the result ..
How can i achieve this in java ?

note : This is not a struts -related issue ... yet i need help so i posted ..
hope nobody minds much ....

Regards,
Sachin Hegde
Software Developer
Paradyne Infotech Limited , Mumbai
09324546711

"There are three kinds of lies: lies, damn lies, and statistics."
-Benjamin Disraeli



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message