Ask a Question related to ASP.NET General, Design and Development.
-
Yoav Brav #1
Expression Evaluation DotNet
Hi,
I would like to convert a string such as "(3+2)/4" and return
the answer.
But I want the user to be able to type in the formula into a textbox
and have the ASPX convert that string value into a mathematical expression
and return the calculated value
tx
yoav
[email]brav@brav.co.il[/email]
Yoav Brav Guest
-
#39641 [NEW]: Expression evaluation violates intuition
From: netex at 163 dot com Operating system: FreeBSD 6.1 PHP version: 5.2.0 PHP Bug Type: Variables related Bug description:... -
Evaluation Period
I thought the evaluation period is 6 weeks. But now second week into my evaluation period, it tells me to switch to developer edition. Why? I'm... -
Evaluation Expiration
How can I find out how much time remains on my Windows 2003 server evaluation. It is a 180 day evaluation, but I've re-installed it a couple of... -
Evaluation upgrade
We have been using the evaluation copy of windows 2003 for some time now. The evaluation period ran out a few days ago. We have purchased a retail... -
Unixware Evaluation
On Sat, Jul 19, 2003 at 08:45:06PM +0100, Graham Wharton wrote: Perhaps you might get some ideas here: http://www.opensource.org/sco-vs-ibm.html... -
Daniel Bass #2
Re: Expression Evaluation DotNet
don't know if asp.net's got any special way for this, but i'd break the
expression up and parse through it, it's not that simple with things like
BODMAS ordering etc...
a binary tree's probably the easist structure to use.
"Yoav Brav" <brav@brav.co.il> wrote in message
news:bca415d7.0307250253.4bdb3b58@posting.google.c om...> Hi,
>
> I would like to convert a string such as "(3+2)/4" and return
> the answer.
> But I want the user to be able to type in the formula into a textbox
> and have the ASPX convert that string value into a mathematical expression
> and return the calculated value
>
> tx
>
> yoav
> [email]brav@brav.co.il[/email]
Daniel Bass Guest



Reply With Quote

