java double to string with comma

Solutions on MaxInterview for java double to string with comma by the best coders in the world

showing results for - "java double to string with comma"
Hippolyte
16 Sep 2018
1Double.parseDouble(p.replace(',','.'))
2
Emet
10 Apr 2019
1NumberFormat format = NumberFormat.getInstance(Locale.FRANCE);
2Number number = format.parse("1,234");
3double d = number.doubleValue();
4
Angela
07 Aug 2016
1NumberFormat format = NumberFormat.getInstance(Locale.getDefault());
2