Let's say I have a string
, and that string
's value is an amount of money, localized. By localized, I mean that if the country may use commas instead of decimal points, for example. (That's just one localization difference I know if.)
How can I parse one of these string
s into their decimal
s numeric equivalents? Will decimal.TryParse()
recognize localized formatting? How do I specify the CultureInfo
with TryParse()
?