This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
You can specify a locale usig one of the constants in the Locale class as an argument to the getInstance method, like this: NumberFormat currFormat = NumberFormat.getInstance(Locale.GERMANY); hope that helps
Joined: Jan 28, 2002
Hello Dave, sorry, my description was not very clear. I need it the other way round. What I have is a String like "1,23" and I want to transform that into a double value 1.23. Should wor for all locales. Thankyou Ben