Java Double parse String to double
import java.text.NumberFormat; public class Main { public static void main(String[] args) { // Parse a String into a Number try {// w ww .j a v a 2 s . c o m Number num = NumberFormat.getInstance().parse("65432.736"); System.out.println(num); } catch (java.text.ParseException ex) { System.out.println(ex); } } }