舍掉小数取整:Math.floor(3.5)=3四舍五入取整:Math.rint(3.5)=4进位取整:Math.ceil(3.1)=4 取绝对值:Math.abs(-3.5)=3.5取余数:A%B = 余数