• 舍掉小数取整:Math.floor(5.5)=5
  • 四舍五入取整:Math.rint(5.5)=6
  • 进位取整:Math.ceil(6.1)=7
  • 取绝对值:Math.abs(-4.5)=4.5
  • 取余数:A%B = 余数