Currency string convertion
Posted on 2004-04-21
If I convert a decimal representing a money sum to a string, I preferably do it using a sum.ToString("C"). The result is something like "$123.45" or "123,45 kr", depending on your regional settings in Windows (I guess!?).
How do I convert back from the string to a decimal/float/similar? Is there a function that trims the string dependant of the regional settings?