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