// Java Code to implement
// parseDouble() method of Double class
class GFG {
// Driver method
public static void main(String[] args)
{
String str = "100";
// returns the double value
// represented by the string argument
double val = Double.parseDouble(str);
// prints the double value
System.out.println("Value = " + val);
}
}