从控制台读取双精度
/** N o w J a v a . c o m - 时代Java **/ //package com.nowjava; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { private static BufferedReader buffer = new BufferedReader( new InputStreamReader(System.in)); /** * Reads a double from console * * @return the read double * @throws IOException * If an IO error occurs */ public static double readDouble()