VinceC Posted July 16, 2003 Posted July 16, 2003 I have 2 strings, say MyString1="2/10" MyString2="50%" Is there a "way" to convert both strings to a numeric value? CType and CDbl don't quite do it. Thx. Quote
*Experts* mutant Posted July 16, 2003 *Experts* Posted July 16, 2003 You mean take the string, parse it and calculate the result? You have to that yourself, but it shouldnt be very hard to write a function like that. Quote
VinceC Posted July 16, 2003 Author Posted July 16, 2003 I thought so. I was just wondering if there was some type of method that would evaluate a string expression and convert it to numeric. Thanks anyhow. Quote
neodatatype Posted August 18, 2003 Posted August 18, 2003 I was just wondering if there was some type of method that would evaluate a string expression and convert it to numeric. Thanks anyhow. You can use my parser and evaluator. see the singature bye! Quote > NeoDataType.net < Try my Free .Net Reporting Tool!
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.