Java Parse Double parseDouble(String stringValue)

Here you can find the source of parseDouble(String stringValue)

Description

parse Double

License

Apache License

Declaration

public static double parseDouble(String stringValue) throws ParseException 

Method Source Code


//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);
    }
}

Related

  1. parseDouble(String d)
  2. parseDouble(String inStr)
  3. parseDouble(String s, Locale locale)
  4. parseDouble(String str)
  5. parseDouble(String str)
  6. parseDouble(String value)
  7. ParseDoubleEx(String s, double value_if_fault)
  8. parseDoubleInCurrentDefaultLocale(String text)
  9. parseInternationalDouble(String number)