热门搜索 :
考研考公
您的当前位置:首页正文

Math的floor,ceil,round方法总结

来源:东饰资讯网

方法:floor取小(向下取整),ceil取大(向上取整),round按照Math.floor(x+0.5)计算

Top