Sets the currency of these DecimalFormatSymbols. This also sets the currency symbol attribute to the currency's symbol in the DecimalFormatSymbols' locale, and the international currency symbol attribute to the currency's ISO 4217 currency code.
currency | the new currency to be used |
NullPointerException | if currency is null |
setCurrencySymbol, setInternationalCurrencySymbol
Diagram: Format