Java Double Number Create toDouble(String s)

Here you can find the source of toDouble(String s)

Description

Converts a string into a double

License

Open Source License

Parameter

Parameter Description
s a parameter

Return

double

Declaration

public static double toDouble(String s) 

Method Source Code

//package com.java2s;

public class Main {
    /**//from   w w  w  .j  ava 2s.c om
     * Converts a string into a double
     *
     * @param s
     * @return double
     */
    public static double toDouble(String s) {
        return Double.parseDouble(s);
    }
}

Related

  1. toDouble(String input, double defaultValue)
  2. toDouble(String parameter)
  3. toDouble(String s)
  4. toDouble(String s)
  5. toDouble(String s)
  6. toDouble(String str)
  7. toDouble(String str)
  8. toDouble(String str)
  9. toDouble(String str)