Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Math equations in a textbox???
Message
 
To
23/05/2002 13:50:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00660635
Message ID:
00660638
Views:
10
Hi Matt,

>How can I allow users to enter a simple math equation in an input textbox, then evaluate it to a number?
>for example: "40.68/3"

x = EVALUATE(THISFORM.Textbox.Value)

Regards,
Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Reply
Map
View

Click here to load this message in the networking platform