Understanding the strange output of java.util.Locale
问题 I had a perception that Locale is just about adding comma at proper positions at least in case of numbers. But I see a different output for what I have tried. I tried the following, public static void main(String[] args) { DecimalFormat df = null; df = (DecimalFormat) DecimalFormat.getInstance(Locale.CHINESE); System.out.println("Locale.CHINESE "+df.format(12345.45)); df = (DecimalFormat) DecimalFormat.getInstance(Locale.GERMAN); System.out.println("Locale.GERMAN "+df.format(12345.45)); }