Converting a String to a double type Number
public class Main { public static void main(String[] argv) throws Exception { double d = Double.parseDouble("123.4e10"); System.out.println(d); } }