System.out.println("向下取整" + (int) Math.floor(96.8));// 96 (去掉小数凑整:不论小数是多少,都不进位). System.out.println("四舍五入取整:" + ...
確定! 回上一頁