Re: how to reformat the currency?



thx
nblloyd@xxxxxxxxx wrote:
String num = new String("2,111,000.09").replaceAll(",", "");
double d = Double.parseDouble(num);

- Natasha -

hoho123 wrote:
I have a currency string like 2,111,000.09
what's the easiest way to change it back to a double type?

Thank you!

.