Following is resulting in an Exception:
Exception
String p=\"1,234\"; Double d=Double.valueOf(p); System.out.println(d);
Is there a bet
You of course need to use the correct locale. This question will help.