src/main/java/com/teamunify/i18n/I.java
public static String compressCurrencyString(String str) {
    LanguageSetting s = languageProvider.vend();
    DecimalFormat d = (DecimalFormat) NumberFormat.getCurrencyInstance(s.locale);
    Character c = d.getDecimalFormatSymbols().getGroupingSeparator();
    str = str.replaceAll("\\Q" + c.toString() + "\\E", "");
    String sym = d.getDecimalFormatSymbols().getCurrencySymbol();
    str = str.replaceAll("\\Q" + sym + "\\E", "");
    str = str.replaceAll("&[^;]*;", "");
    return str;
  }
/**
   * Given a currency string in the current locale, remove all unnessary characters (group separators and currency
   * symbols).
   * <p/>
   * <p/>
   * <b>NOTE:</b> Compressed strings like this are less clear to the user, and should be avoided if at all possible. The
   * input functions accept the normal formats, so there is no worry about the extra symbols from a functionality
   * standpoint.
   *
   * @param str The currency string
   * @return The compacted currency string
   */
Given a currency string in the current locale, remove all unnessary characters (group separators and currency
symbols).


NOTE: Compressed strings like this are less clear to the user, and should be avoided if at all possible. The
input functions accept the normal formats, so there is no worry about the extra symbols from a functionality
standpoint.

@param str The currency string
@return The compacted currency string
Given a currency string in the current locale remove all unnessary characters ( group separators and currency symbols ) . NOTE : Compressed strings like this are less clear to the user and should be avoided if at all possible . The input functions accept the normal formats so there is no worry about the extra symbols from a functionality standpoint . @param str The currency string @return The compacted currency string
public static String compressCurrencyString(String str) {
    LanguageSetting s = languageProvider.vend();
    DecimalFormat d = (DecimalFormat) NumberFormat.getCurrencyInstance(s.locale);
    Character c = d.getDecimalFormatSymbols().getGroupingSeparator();
    str = str.replaceAll("\\Q" + c.toString() + "\\E", "");
    String sym = d.getDecimalFormatSymbols().getCurrencySymbol();
    str = str.replaceAll("\\Q" + sym + "\\E", "");
    str = str.replaceAll("&[^;]*;", "");
    return str;
  }
public static String compressCurrencyString ( String str ) { LanguageSetting s = languageProvider . vend ( ) ; DecimalFormat d = ( DecimalFormat ) NumberFormat . getCurrencyInstance ( s . locale ) ; Character c = d . getDecimalFormatSymbols ( ) . getGroupingSeparator ( ) ; str = str . replaceAll ( "\\Q" + c . toString ( ) + "\\E" , "" ) ; String sym = d . getDecimalFormatSymbols ( ) . getCurrencySymbol ( ) ; str = str . replaceAll ( "\\Q" + sym + "\\E" , "" ) ; str = str . replaceAll ( "&[^;]*;" , "" ) ; return str ; }
Given a currency string in the current locale, remove all unnessary characters (group separators and currency
 symbols).
Given a currency string in the current locale remove all unnessary characters ( group separators and currency symbols ) .