How can I convert a String such as \"12.34\" to a double in Java?
String
\"12.34\"
double
There is another way too.
Double temp = Double.valueOf(str); number = temp.doubleValue();
Double is a class and "temp" is a variable. "number" is the final number you are looking for.