Java Currency Name Get getDefaultCurrency()

Here you can find the source of getDefaultCurrency()

Description

get Default Currency

License

Open Source License

Declaration

public static Currency getDefaultCurrency() 

Method Source Code

//package com.java2s;
import java.util.Currency;
import java.util.Locale;

public class Main {
    public static Currency getDefaultCurrency() {
        return Currency.getInstance(Locale.getDefault());
    }/*from w ww. j  a  v  a  2  s .  c  om*/
}

Related

  1. countryFlagForCurrency(String c)
  2. getLocalSymbol(Currency currency)
  3. nameForCurrency(String currency)
  4. printCurrency(Currency value)