src/sap.ui.core/src/sap/ui/core/Configuration.js
function(mCurrencies) {
			check(typeof mCurrencies === "object" || mCurrencies == null, "mCurrencyDigits must be an object");
			Object.keys(mCurrencies || {}).forEach(function(sCurrencyDigit) {
				check(typeof sCurrencyDigit === "string");
				check(typeof mCurrencies[sCurrencyDigit] === "object");
			});
			this._set("currency", mCurrencies);
			return this;
		}
function(mCurrencies) {
			check(typeof mCurrencies === "object" || mCurrencies == null, "mCurrencyDigits must be an object");
			Object.keys(mCurrencies || {}).forEach(function(sCurrencyDigit) {
				check(typeof sCurrencyDigit === "string");
				check(typeof mCurrencies[sCurrencyDigit] === "object");
			});
			this._set("currency", mCurrencies);
			return this;
		}
function ( mCurrencies ) { check ( typeof mCurrencies === "object" || mCurrencies == null , "mCurrencyDigits must be an object" ) ; Object . keys ( mCurrencies || { } ) . forEach ( function ( sCurrencyDigit ) { check ( typeof sCurrencyDigit === "string" ) ; check ( typeof mCurrencies [ sCurrencyDigit ] === "object" ) ; } ) ; this . _set ( "currency" , mCurrencies ) ; return this ; }
Sets custom currencies and replaces existing entries.

There is a special currency code named "DEFAULT" that is optional.
In case it is set it will be used for all currencies not contained
in the list, otherwise currency digits as defined by the CLDR will
be used as a fallback.

Example:
To use CLDR, but override single currencies
<code>
{
"KWD": {"digits": 3},
"TND" : {"digits": 3}
}
</code>

To replace the CLDR currency digits completely
<code>
{
"DEFAULT": {"digits": 2},
"ADP": {"digits": 0},
...
"XPF": {"digits": 0}
}
</code>

Note: To unset the custom currencies: call with <code>undefined</code>
@public
@param {object} mCurrencies currency map which is set
@returns {sap.ui.core.Configuration.FormatSettings}
Sets custom currencies and replaces existing entries .