Math.floor(-8.5)=多少?

 

Math.floor()   表示向下取整,返回double类型   (floor---地板) 
Math.ceil()   表示向上取整,返回double类型    (ceil---天花板) 
Math.round()  四舍五入,返回int类型

相关文章:

  • 2022-02-13
  • 2022-12-23
  • 2021-10-10
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-23
  • 2021-12-07
  • 2021-10-19
相关资源
相似解决方案