Math.round(x) 相当于 (int) Math.floor(x+0.5f) floor 方法返回小于操作数的最大整数值,返回值类型为double ceil 方法返回大于操作数的最小整数值,返回值类型为double