DecimalFormatSymbols setCurrency() method in Java with Examples
The setCurrency(Currency) method of java.text.DecimalFormatSymbols class in Java is used to set the currency for the Locale of this DecimalFormatSymbols. This method takes the currency as the parameter and sets it. Syntax: public void setCurrency(Currency currency) Parameter: This method accepts the