java Math语法

来源:互联网 发布:翻译证书 知乎 编辑:程序博客网 时间:2024/06/03 15:05
Math.ceil求最小的整数但不小于本身.
Math.round求本身的四舍五入。

Math.floor求最大的整数但不大于本身.



原创粉丝点击