M
Mark
How do you parse a currency string to a decimal? I'd like to avoid having
to parse the number out, removing the $ manually. That sounds like a hack.
There are times that this string will be currency and others when it will be
a text integer or decimal.
//This bombs because of the string having an improper format.
Decimal.Parse("$9,200.00")
Thanks in advance!
Mark
to parse the number out, removing the $ manually. That sounds like a hack.
There are times that this string will be currency and others when it will be
a text integer or decimal.
//This bombs because of the string having an improper format.
Decimal.Parse("$9,200.00")
Thanks in advance!
Mark