title: String to Double Java error
body: <p>I'm having some problems in the moment of parsing String to Doubles, with Spring and Java. This is not totally related to Spring, but it may put you in situation.</p>
  
  <p>I had a CustomNumberEditor, for parsing easily Strings to Doubles. 
  java.text.DecimalFormat was used as the decimal format for parsing double to string. However, when you do numberFormat.parse(stringDouble) if the string starts with numbers, and follow with letters, the value returned is the numbers. i.e. 12a is parsed to 12. For me this is clearly and error, and I would like to solve this easily.</p>
  
  <p>I imagine this should be implemented in some other kind of numberFormat, or attributes or something, but I could not find it. Any ideas?</p>