A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
How to convert Localized formatted String in Amount?
Joined: Feb 19, 2009
Oct 08, 2010 00:28:41
I have once scenario where I need to convert localized
amount to parse and make it long amount.
Example: In russia, people write 1000 as "1 000".
Now what I need to do is to parse this "1 000" and get 1000.
Is there any way in
, which can identify if the particular string is localized price in some Locale and give us the normal long output?
Joined: Oct 27, 2005
Oct 08, 2010 13:10:15
Have you already looked at NumberFormat?
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions
How To Answer Questions
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: How to convert Localized formatted String in Amount?
Reading a stream from a socket
how do i get todays dat without the time
string to timestamp
Using NumberFormat to validate data entry
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014