Math.round方法: round方法: static long round(double a) 此方法返回的参数最接近的long. static int round(float a) 此方法返回的参数最接近的整数.