Click here to Skip to main content
12,945,927 members (38,383 online)
Rate this:
 
Please Sign up or sign in to vote.
hi....
In my Form,i have a textbox in which formula is entered..the formula is of format x+y% and y%(x)....when i click button i need to verify the formula and return the result in a messagebox...

thnks in advance...
Posted 20-Dec-12 21:36pm
Comments
Krunal Rohit 21-Dec-12 3:41am
   
elaborate your question..
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

If they are entering formulae and you have to process them, then have a look at this: Math Parser TK[^] - it does a lot more than you need it to, but it should save you a lot of work!
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

The easy path would be allowing the user to input just the values of x and y (and possibly select the formula) and the compute the result.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 4,899
CHill60 3,180
Maciej Los 2,453
Jochen Arndt 1,910
ppolymorphe 1,785


Advertise | Privacy | Mobile
Web01 | 2.8.170518.1 | Last Updated 21 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100