BigDecimal number = (BigDecimal) value;
number = number.setScale(SCALE, BigDecimal.ROUND_HALF_UP);
string = formatter.format(number.doubleValue());
}
catch (IllegalArgumentException e) {
throw new FormatException(FORMAT_MSG + value, e);
}
catch (ClassCastException e) {
throw new FormatException(FORMAT_MSG + value, e);
}
return removeSymbol(string);
}