Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Math equations in a textbox???
Message
 
À
23/05/2002 13:50:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00660635
Message ID:
00660638
Vues:
11
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform