title: NumberFormat currency parsing failing "Unparseable number"
body: <p>NumberFormat throws ParseException when I try to parse "10,10 €".</p>
  
  <pre><code>@Test
  public void get_currency_from_text() throws Exception {
      String moneyAsString = "10,10 €";
      //Do not use double for monetary values
      Double moneyAsDouble = 10.10;
  
      NumberFormat formatter = NumberFormat.getCurrencyInstance(Locale.GERMANY);
      Double parsedMoney = formatter.parse(moneyAsString).doubleValue();
      assertEquals(moneyAsDouble, parsedMoney);
  }
  </code></pre>
  
  <p>This is what I is thrown when I run the test</p>
  
  <pre><code>java.text.ParseException: Unparseable number: "10,10 €"
  </code></pre>
  
  <p>It works fine whenever I do this though:</p>
  
  <pre><code>@Test
  public void get_currency_from_text() throws Exception {
  
      Double moneyAsDouble = 10.10;
  
      NumberFormat formatter = NumberFormat.getCurrencyInstance(Locale.GERMANY);
      String moneyAsString = formatter.format(moneyAsDouble);
      Double parsedMoney = formatter.parse(moneyAsString).doubleValue();
  
      System.out.println(moneyAsString);
      //10,10 €
  
      assertEquals(moneyAsDouble, parsedMoney);
  }
  </code></pre>
  
  <p>I suspect that it has something to do with the space, but I still don't know how to fix it, any ideas? </p>