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