double val;
try {
// TODO Missing support for DifferentCurrencyCodeProvided and for internation currency formats
val = numberFormat.parse(currencyString).doubleValue();
} catch (ParseException e) {
throw new CurrencyParseException(e);
}
return MathUtil.roundToFixedPoint(val, getDecimalPlaces(currency));
}