# DecimalFormatSymbols

public class **DecimalFormatSymbols** extends [Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html)  
implements [Cloneable](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Cloneable.html) [Serializable](https://developers.google.com/j2objc/javadoc/jre/reference/java/io/Serializable.html) This class represents the set of symbols (such as the decimal separator,
the grouping separator, and so on) needed by `DecimalFormat`
to format numbers. `DecimalFormat` creates for itself an instance of
`DecimalFormatSymbols` from its locale data. If you need to change any
of these symbols, you can get the `DecimalFormatSymbols` object from
your `DecimalFormat` and modify it.

##### See Also

- `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Locale.html`
- `https://developers.google.com/j2objc/javadoc/jre/`

### Public Constructor Summary

|---|---|
|   | [DecimalFormatSymbols](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#DecimalFormatSymbols())() Create a DecimalFormatSymbols object for the default `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Locale.Category.html#FORMAT` locale. |
|   | [DecimalFormatSymbols](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#DecimalFormatSymbols(java.util.Locale))([Locale](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Locale.html) locale) Create a DecimalFormatSymbols object for the given locale. |

### Public Method Summary

|---|---|
| [Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html) | [clone](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#clone())() Standard override. |
| boolean | [equals](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#equals(java.lang.Object))([Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html) obj) Override equals. |
| static [Locale\[\]](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Locale.html) | [getAvailableLocales](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#getAvailableLocales())() Returns an array of all locales for which the `getInstance` methods of this class can return localized instances. |
| [Currency](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Currency.html) | [getCurrency](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#getCurrency())() Gets the currency of these DecimalFormatSymbols. |
| [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) | [getCurrencySymbol](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#getCurrencySymbol())() Returns the currency symbol for the currency of these DecimalFormatSymbols in their locale. |
| char | [getDecimalSeparator](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#getDecimalSeparator())() Gets the character used for decimal sign. |
| char | [getDigit](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#getDigit())() Gets the character used for a digit in a pattern. |
| [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) | [getExponentSeparator](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#getExponentSeparator())() Returns the string used to separate the mantissa from the exponent. |
| char | [getGroupingSeparator](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#getGroupingSeparator())() Gets the character used for thousands separator. |
| [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) | [getInfinity](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#getInfinity())() Gets the string used to represent infinity. |
| final static [DecimalFormatSymbols](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html) | [getInstance](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#getInstance())() Gets the `DecimalFormatSymbols` instance for the default locale. |
| final static [DecimalFormatSymbols](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html) | [getInstance](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#getInstance(java.util.Locale))([Locale](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Locale.html) locale) Gets the `DecimalFormatSymbols` instance for the specified locale. |
| [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) | [getInternationalCurrencySymbol](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#getInternationalCurrencySymbol())() Returns the ISO 4217 currency code of the currency of these DecimalFormatSymbols. |
| char | [getMinusSign](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#getMinusSign())() Gets the character used to represent minus sign. |
| char | [getMonetaryDecimalSeparator](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#getMonetaryDecimalSeparator())() Returns the monetary decimal separator. |
| [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) | [getNaN](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#getNaN())() Gets the string used to represent "not a number". |
| char | [getPatternSeparator](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#getPatternSeparator())() Gets the character used to separate positive and negative subpatterns in a pattern. |
| char | [getPerMill](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#getPerMill())() Gets the character used for per mille sign. |
| char | [getPercent](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#getPercent())() Gets the character used for percent sign. |
| char | [getZeroDigit](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#getZeroDigit())() Gets the character used for zero. |
| int | [hashCode](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#hashCode())() Override hashCode. |
| void | [setCurrency](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#setCurrency(java.util.Currency))([Currency](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Currency.html) currency) Sets the currency of these DecimalFormatSymbols. |
| void | [setCurrencySymbol](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#setCurrencySymbol(java.lang.String))([String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) currency) Sets the currency symbol for the currency of these DecimalFormatSymbols in their locale. |
| void | [setDecimalSeparator](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#setDecimalSeparator(char))(char decimalSeparator) Sets the character used for decimal sign. |
| void | [setDigit](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#setDigit(char))(char digit) Sets the character used for a digit in a pattern. |
| void | [setExponentSeparator](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#setExponentSeparator(java.lang.String))([String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) exp) Sets the string used to separate the mantissa from the exponent. |
| void | [setGroupingSeparator](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#setGroupingSeparator(char))(char groupingSeparator) Sets the character used for thousands separator. |
| void | [setInfinity](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#setInfinity(java.lang.String))([String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) infinity) Sets the string used to represent infinity. |
| void | [setInternationalCurrencySymbol](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#setInternationalCurrencySymbol(java.lang.String))([String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) currencyCode) Sets the ISO 4217 currency code of the currency of these DecimalFormatSymbols. |
| void | [setMinusSign](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#setMinusSign(char))(char minusSign) Sets the character used to represent minus sign. |
| void | [setMonetaryDecimalSeparator](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#setMonetaryDecimalSeparator(char))(char sep) Sets the monetary decimal separator. |
| void | [setNaN](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#setNaN(java.lang.String))([String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) NaN) Sets the string used to represent "not a number". |
| void | [setPatternSeparator](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#setPatternSeparator(char))(char patternSeparator) Sets the character used to separate positive and negative subpatterns in a pattern. |
| void | [setPerMill](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#setPerMill(char))(char perMill) Sets the character used for per mille sign. |
| void | [setPercent](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#setPercent(char))(char percent) Sets the character used for percent sign. |
| void | [setZeroDigit](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#setZeroDigit(char))(char zeroDigit) Sets the character used for zero. |

### Inherited Method Summary

From class [java.lang.Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html)

|---|---|
| [Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html) | [clone](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#clone())() Creates and returns a copy of this `Object`. |
| boolean | [equals](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#equals(java.lang.Object))([Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html) obj) Compares this instance with the specified object and indicates if they are equal. |
| void | [finalize](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#finalize())() Invoked when the garbage collector has detected that this instance is no longer reachable. |
| final [Class](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html)\<?\> | [getClass](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#getClass())() Returns the unique instance of `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html` that represents this object's class. |
| int | [hashCode](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#hashCode())() Returns an integer hash code for this object. |
| final void | [notify](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#notify())() Causes a thread which is waiting on this object's monitor (by means of calling one of the `wait()` methods) to be woken up. |
| final void | [notifyAll](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#notifyAll())() Causes all threads which are waiting on this object's monitor (by means of calling one of the `wait()` methods) to be woken up. |
| [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) | [toString](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#toString())() Returns a string containing a concise, human-readable description of this object. |
| final void | [wait](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#wait(long,%20int))(long timeout, int nanos) Causes the calling thread to wait until another thread calls the `notify()` or `notifyAll()` method of this object or until the specified timeout expires. |
| final void | [wait](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#wait(long))(long timeout) Causes the calling thread to wait until another thread calls the `notify()` or `notifyAll()` method of this object or until the specified timeout expires. |
| final void | [wait](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#wait())() Causes the calling thread to wait until another thread calls the `notify()` or `notifyAll()` method of this object. |

## Public Constructors

#### public
**DecimalFormatSymbols**
()

Create a DecimalFormatSymbols object for the default
`https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Locale.Category.html#FORMAT` locale.
It is recommended that the `https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#getInstance(java.util.Locale)` method is used
instead.

This is equivalent to calling
`https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#DecimalFormatSymbols(java.util.Locale)`.

##### See Also

- `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Locale.html#getDefault(java.util.Locale.Category)`
- `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Locale.Category.html#FORMAT`

#### public
**DecimalFormatSymbols**
([Locale](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Locale.html) locale)

Create a DecimalFormatSymbols object for the given locale.
It is recommended that the `https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#getInstance(java.util.Locale)` method is used
instead.
If the specified locale contains the `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Locale.html#UNICODE_LOCALE_EXTENSION`
for the numbering system, the instance is initialized with the specified numbering
system if the JRE implementation supports it. For example,

```
 NumberFormat.getNumberInstance(Locale.forLanguageTag("th-TH-u-nu-thai"))
 
```
This may return a `NumberFormat` instance with the Thai numbering system, instead of the Latin numbering system.

<br />

##### Parameters

| locale | the desired locale |
|---|---|

##### Throws

| [NullPointerException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/NullPointerException.html) | if `locale` is null |
|---|---|

## Public Methods

#### public [Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html)
**clone**
()

Standard override.

##### Returns

- a copy of this object.

#### public boolean
**equals**
([Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html) obj)

Override equals.

##### Parameters

| obj | the object to compare this instance with. |
|---|---|

##### Returns

- `true` if the specified object is equal to this `Object`; `false` otherwise.

#### public static [Locale\[\]](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Locale.html)
**getAvailableLocales**
()

Returns an array of all locales for which the
`getInstance` methods of this class can return
localized instances.

##### Returns

- an array of locales for which localized `DecimalFormatSymbols` instances are available.

#### public [Currency](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Currency.html)
**getCurrency**
()

Gets the currency of these DecimalFormatSymbols. May be null if the
currency symbol attribute was previously set to a value that's not
a valid ISO 4217 currency code.

##### Returns

- the currency used, or null

#### public [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html)
**getCurrencySymbol**
()

Returns the currency symbol for the currency of these
DecimalFormatSymbols in their locale.

##### Returns

- the currency symbol

#### public char
**getDecimalSeparator**
()

Gets the character used for decimal sign. Different for French, etc.

##### Returns

- the character used for decimal sign

#### public char
**getDigit**
()

Gets the character used for a digit in a pattern.

##### Returns

- the character used for a digit in a pattern

#### public [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html)
**getExponentSeparator**
()

Returns the string used to separate the mantissa from the exponent.
Examples: "x10\^" for 1.23x10\^4, "E" for 1.23E4.

##### Returns

- the exponent separator string

##### See Also

- `https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#setExponentSeparator(java.lang.String)`

#### public char
**getGroupingSeparator**
()

Gets the character used for thousands separator. Different for French, etc.

##### Returns

- the grouping separator

#### public [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html)
**getInfinity**
()

Gets the string used to represent infinity. Almost always left
unchanged.

##### Returns

- the string representing infinity

#### public static final [DecimalFormatSymbols](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html)
**getInstance**
()

Gets the `DecimalFormatSymbols` instance for the default
locale.

This is equivalent to calling
`https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#getInstance(java.util.Locale)`.

##### Returns

- a `DecimalFormatSymbols` instance.

##### See Also

- `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Locale.html#getDefault(java.util.Locale.Category)`
- `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Locale.Category.html#FORMAT`

#### public static final [DecimalFormatSymbols](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html)
**getInstance**
([Locale](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Locale.html) locale)

Gets the `DecimalFormatSymbols` instance for the specified
locale.
If the specified locale contains the `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Locale.html#UNICODE_LOCALE_EXTENSION`
for the numbering system, the instance is initialized with the specified numbering
system if the JRE implementation supports it. For example,

```
 NumberFormat.getNumberInstance(Locale.forLanguageTag("th-TH-u-nu-thai"))
 
```
This may return a `NumberFormat` instance with the Thai numbering system, instead of the Latin numbering system.

<br />

##### Parameters

| locale | the desired locale. |
|---|---|

##### Returns

- a `DecimalFormatSymbols` instance.

##### Throws

| [NullPointerException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/NullPointerException.html) | if `locale` is null |
|---|---|

#### public [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html)
**getInternationalCurrencySymbol**
()

Returns the ISO 4217 currency code of the currency of these
DecimalFormatSymbols.

##### Returns

- the currency code

#### public char
**getMinusSign**
()

Gets the character used to represent minus sign. If no explicit
negative format is specified, one is formed by prefixing
minusSign to the positive format.

##### Returns

- the character representing minus sign

#### public char
**getMonetaryDecimalSeparator**
()

Returns the monetary decimal separator.

##### Returns

- the monetary decimal separator

#### public [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html)
**getNaN**
()

Gets the string used to represent "not a number". Almost always left
unchanged.

##### Returns

- the string representing "not a number"

#### public char
**getPatternSeparator**
()

Gets the character used to separate positive and negative subpatterns
in a pattern.

##### Returns

- the pattern separator

#### public char
**getPerMill**
()

Gets the character used for per mille sign. Different for Arabic, etc.

##### Returns

- the character used for per mille sign

#### public char
**getPercent**
()

Gets the character used for percent sign. Different for Arabic, etc.

##### Returns

- the character used for percent sign

#### public char
**getZeroDigit**
()

Gets the character used for zero. Different for Arabic, etc.

##### Returns

- the character used for zero

#### public int
**hashCode**
()

Override hashCode.

##### Returns

- this object's hash code.

#### public void
**setCurrency**
([Currency](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Currency.html) currency)

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.

##### Parameters

| currency | the new currency to be used |
|---|---|

##### Throws

| [NullPointerException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/NullPointerException.html) | if `currency` is null |
|---|---|

##### See Also

- `https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#setCurrencySymbol(java.lang.String)`
- `https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#setInternationalCurrencySymbol(java.lang.String)`

#### public void
**setCurrencySymbol**
([String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) currency)

Sets the currency symbol for the currency of these
DecimalFormatSymbols in their locale.

##### Parameters

| currency | the currency symbol |
|---|---|

#### public void
**setDecimalSeparator**
(char decimalSeparator)

Sets the character used for decimal sign. Different for French, etc.

##### Parameters

| decimalSeparator | the character used for decimal sign |
|---|---|

#### public void
**setDigit**
(char digit)

Sets the character used for a digit in a pattern.

##### Parameters

| digit | the character used for a digit in a pattern |
|---|---|

#### public void
**setExponentSeparator**
([String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) exp)

Sets the string used to separate the mantissa from the exponent.
Examples: "x10\^" for 1.23x10\^4, "E" for 1.23E4.

##### Parameters

| exp | the exponent separator string |
|---|---|

##### Throws

| [NullPointerException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/NullPointerException.html) | if `exp` is null |
|---|---|

##### See Also

- `https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#getExponentSeparator()`

#### public void
**setGroupingSeparator**
(char groupingSeparator)

Sets the character used for thousands separator. Different for French, etc.

##### Parameters

| groupingSeparator | the grouping separator |
|---|---|

#### public void
**setInfinity**
([String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) infinity)

Sets the string used to represent infinity. Almost always left
unchanged.

##### Parameters

| infinity | the string representing infinity |
|---|---|

#### public void
**setInternationalCurrencySymbol**
([String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) currencyCode)

Sets the ISO 4217 currency code of the currency of these
DecimalFormatSymbols.
If the currency code is valid (as defined by
`https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Currency.html#getInstance(java.lang.String)`),
this also sets the currency attribute to the corresponding Currency
instance and the currency symbol attribute to the currency's symbol
in the DecimalFormatSymbols' locale. If the currency code is not valid,
then the currency attribute is set to null and the currency symbol
attribute is not modified.

##### Parameters

| currencyCode | the currency code |
|---|---|

##### See Also

- `https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#setCurrency(java.util.Currency)`
- `https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html#setCurrencySymbol(java.lang.String)`

#### public void
**setMinusSign**
(char minusSign)

Sets the character used to represent minus sign. If no explicit
negative format is specified, one is formed by prefixing
minusSign to the positive format.

##### Parameters

| minusSign | the character representing minus sign |
|---|---|

#### public void
**setMonetaryDecimalSeparator**
(char sep)

Sets the monetary decimal separator.

##### Parameters

| sep | the monetary decimal separator |
|---|---|

#### public void
**setNaN**
([String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) NaN)

Sets the string used to represent "not a number". Almost always left
unchanged.

##### Parameters

| NaN | the string representing "not a number" |
|---|---|

#### public void
**setPatternSeparator**
(char patternSeparator)

Sets the character used to separate positive and negative subpatterns
in a pattern.

##### Parameters

| patternSeparator | the pattern separator |
|---|---|

#### public void
**setPerMill**
(char perMill)

Sets the character used for per mille sign. Different for Arabic, etc.

##### Parameters

| perMill | the character used for per mille sign |
|---|---|

#### public void
**setPercent**
(char percent)

Sets the character used for percent sign. Different for Arabic, etc.

##### Parameters

| percent | the character used for percent sign |
|---|---|

#### public void
**setZeroDigit**
(char zeroDigit)

Sets the character used for zero. Different for Arabic, etc.

##### Parameters

| zeroDigit | the character used for zero |
|---|---|