Convert Java String to Double
public class Main { public static void main(String[] args) { Double dObj1 = new Double("100.564"); System.out.println(dObj1); Double dObj2 = Double.valueOf("10.6"); System.out.println(dObj2); double d = Double.parseDouble("76.39"); System.out.println(d); } }