In C#, I’m trying to convert a string to decimal.
For example, the string is “(USD 92.90)”
How would you parse this out as a decimal with Decimal.Parse fcn.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m going on the assumption here that the string you’re trying to parse is an actual currency value.