Re: how to reformat the currency?
- From: "nblloyd@xxxxxxxxx" <nblloyd@xxxxxxxxx>
- Date: 30 Jun 2006 14:08:21 -0700
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!
.
- Follow-Ups:
- Re: how to reformat the currency?
- From: hoho123
- Re: how to reformat the currency?
- References:
- how to reformat the currency?
- From: hoho123
- how to reformat the currency?
- Prev by Date: how to reformat the currency?
- Next by Date: Re: how to reformat the currency?
- Previous by thread: how to reformat the currency?
- Next by thread: Re: how to reformat the currency?
- Index(es):