трансформатор un string en double java
String s = "10.1";
Double d = Double.parseDouble(s);
Breakable Barracuda
String s = "10.1";
Double d = Double.parseDouble(s);
Double d = Double.valueOf(String str);
double d = Double.parseDouble(aString);
Double myDouble = Double.parseDouble("23.5");
String number = "123,321";
double value = Double.parseDouble( number.replace(",",".") );