String numberText = (String) value;
String numberText = ((String) value).trim();
        public Object convert(Class type, Object value) {            String numberText = (String) value;            try {                return Double.parseDouble(numberText);            } catch (NumberFormatException e) {                throw new ConversionException("could not convert '" + value + "' to a double", e);            }        }