Java Double до струны с запятой
Double.parseDouble(p.replace(',','.'))
Frightened Ferret
Double.parseDouble(p.replace(',','.'))
NumberFormat format = NumberFormat.getInstance(Locale.FRANCE);
Number number = format.parse("1,234");
double d = number.doubleValue();
NumberFormat format = NumberFormat.getInstance(Locale.getDefault());