Java 取整

1.向上取整Math.ceil();
2.向下取整Math.floor();
3.四舍五入Math.round();

原文地址:https://www.cnblogs.com/xym4869/p/12826101.html