java double to string with comma code example
Example 1: java double to string with comma
Double.parseDouble(p.replace(',','.'))
Example 2: java string to double comma
NumberFormat format = NumberFormat.getInstance(Locale.getDefault());
Example 3: java string to double comma
NumberFormat format = NumberFormat.getInstance(Locale.FRANCE);
Number number = format.parse("1,234");
double d = number.doubleValue();