I just want to know how to total formatted strings like $ 100,000.00
Ive use a split method but it doesnt work when to many “,” are there..
I just want to know how to total formatted strings like $ 100,000.00 Ive
Share
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.
You can use the
NumberStylesenumeration overload of the parse method in your example. e.g.As a side note, this doesn’t account for incorrect numbers and will throw an error if you attempt to format a bad string.