var values=[1,2,3,4,5,56];
var a=Math.max.apply(this,values);
Math.ceil();//向上四舍五入
Math.floor();//向下四舍五入
Math.round();//正常四舍五入

Math.random();//0~1的一个小数

相关文章:

  • 2021-11-27
  • 2021-06-20
  • 2021-12-10
  • 2021-11-05
  • 2021-11-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-05-17
  • 2022-01-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案