向上取整用Math.ceil(double a) 即0.5 变成 1 向下取整用Math.floor(double a) 即0.5 变成 0 支持多种数据类型,支持除法运算后的结果 相关文章: 2022-12-23 2021-07-20 2021-06-05 2021-08-17