final Locale locale = localization.getLocale();
DecimalFormat fmt = ((DecimalFormat) DecimalFormat.getInstance(locale));
return fmt.parse(value).floatValue();
} catch (ParseException e) {
throw new ConversionError(MessageFormat.format(bundle.getString("is_not_a_valid_number"), value));
}
}