Integer.parse was not used because it's not really I18N-safe try...{java.text.Formatformat=java.text.NumberFormat.getNumberInstance();}catch(Exceptionex)...{//todo....}