One way is to use Double.TryParse(). It gets you double data type value
though.
Eg:
double d;
Double.TryParse ("$15,000.00", NumberStyles.AllowCurrencySymbol |
NumberStyles.AllowThousands | NumberStyles.AllowDecimalPoint, null, out d);
Console.WriteLine (d);
"Juan" <ju*****************@ANTISPAMhotmail.com> wrote in message
news:e8**************@TK2MSFTNGP11.phx.gbl...
Best way to convert back a currency string into a number(int or long)?
If I have, for example, $ 15.000,00 what is the best way to make it again an
int or long?
pls help!,
Juan.