Java ganda ke string dengan koma
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());