Skip to content

数学

  • round(变量, 数字) 给浮点数保留几位小数
  • math.ceil(数字) 给数字向上取整
  • math.floor(数字) 给数字向下取整