title: Java i18n: Where to get the decimal grouping character for a locale
body: <p>Question: Where do I have to look when I want to know which character will be used for decimal grouping when using a given locale?</p>
  
  <p>I tried the following code:</p>
  
  <pre><code>Locale locale = new Locale("Finnish", "fi");
  DecimalFormat format = (DecimalFormat) DecimalFormat.getInstance(locale);
  System.out.println(format.format(12345678.123));
  </code></pre>
  
  <p>Problem here is, that the parameters for the locale don't seem to be correct but I anyway think there must be some place where this information can be looked up without writing programs for it.</p>
  
  <p>It seems the stuff is not taken from the regional settings on my machine as I changed the characters for the german language in the windows control panel but there was no change within the java program.</p>