Article View: borland.public.jbuilder.java.api
Article #735How to calculate String(Expression) into Formula in servlets
From: Ashwin
Date: Mon, 02 Dec 2002 01:42
Date: Mon, 02 Dec 2002 01:42
9 lines
1324 bytes
1324 bytes
Anyone can help me how to calculate string(Expression) into formula. I am getting one Formula from Database as a String. That string like" x+2*y". I have the values of these x and y variables. But i am unable to pass these values into this formula and i am unable to split that formula also. Can anyone give the code i thankfull to them.
Technical Details
Message-ID:
<3deabaf2@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news1.dtag.de!gatel-ffm!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,18c8ab754dc8834e,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2002-12-01 18:10:31 PST From: "Ashwin" <ashwin@multics.com.my> Newsgroups: borland.public.jbuilder.java.api Subject: How to calculate String(Expression) into Formula in servlets Date: Mon, 2 Dec 2002 09:42:36 +0800 Lines: 11 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 NNTP-Posting-Host: 161.142.118.90 Message-ID: <3deabaf2@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1038793458 161.142.118.90 (1 Dec 2002 17:44:18 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news1.dtag.de!gatel-ffm!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail