|
-
Jul 20th, 2009, 12:09 PM
#1
Thread Starter
New Member
Convert String to Math function/expression!!
Hi,
What I'm looking to do is this:
label1.caption = 25 * textbox1.text
where textbox1.text = "Cos(45.0)"
I'm trying to use the string "Cos(45.0)" in a calculation to obtain a numerical value. However, I can't seem to get it to recognise that the string is a math expression. The return value is zero when using Val(textbox1.text).
Please help!
Thanks
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|