code: private void processCurrency(Row row)
     {
        String currencyName = row.getString("curr_short_name");
        DecimalFormatSymbols symbols = new DecimalFormatSymbols();
        symbols.setDecimalSeparator(row.getString("decimal_symbol").charAt(0));
        symbols.setGroupingSeparator(row.getString("digit_group_symbol").charAt(0));
        DecimalFormat nf = new DecimalFormat();
        nf.setDecimalFormatSymbols(symbols);
        nf.applyPattern("#.#");
        m_currencyMap.put(currencyName, nf);
  
        if (currencyName.equalsIgnoreCase(m_defaultCurrencyName))
        {
           m_numberFormat = nf;
           m_defaultCurrencyData = row;
        }
     }
docs: Process a currency definition.
  
  @param row record from XER file