Doing the Locale – Danmark

The following illustrates how to get the Number format working with a danish locale. import java.text.NumberFormat;import java.util.Currency;import java.util.Locale;  public class TestLocale {  public static void main(String args[]){ // Create a Locale for Danmark Locale DANMARK = new Locale("da","DK");  // get the currency instance for this locale. Currency krone = Currency.getInstance(DANMARK);  // Get a Number format for […]