File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Other Open Source APIs
Java in General
Find out decimal point character of locale
Joined: Dec 03, 2004
Dec 22, 2004 16:08:00
how can I find out which character is used to display a decimal point with a given locale?
Joined: Jan 30, 2000
Dec 22, 2004 17:18:00
DecimalFormatSymbols dfs = new DecimalFormatSymbols( Locale.GERMAN ); System.out.println( dfs.getDecimalSeparator() );
"I'm not back." - Bill Harding,
I agree. Here's the link:
subject: Find out decimal point character of locale
Formatting floating point numbers
Validate Numeric User Input
Converting double to int.
Packed decimal conversion - Java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015