Hi ALL, my program uses formulas and prompt users for variables values e.g.
then i do:Code:Height= "(x*2)-5+y/2"
now how to evaluate height into a decimal ?Code:height.replace("x","5.5").replace("y","9")
|
Results 1 to 5 of 5
Thread: Evaluate an expression in vb.netThreaded View
|
Click Here to Expand Forum to Full Width |