Here you can find the source of parseDouble(String stringValue)
public static double parseDouble(String stringValue) throws ParseException
//package com.java2s; //License from project: Apache License import java.text.NumberFormat; import java.text.ParseException; public class Main { public static double parseDouble(String stringValue) throws ParseException { return parseNumber(stringValue).doubleValue(); }/* www. j a va 2 s. c o m*/ public static Number parseNumber(String stringValue) throws ParseException { NumberFormat numberFormat = NumberFormat.getInstance(); return numberFormat.parse(stringValue); } }