Math.ceil 是向上取整,有尾数向上+1,整数不变
但是
4.44 有什么特殊之处呢?
IEEE 精度问题。
也就是著名的 0.1 + 0.2 != 0.3 问题的原因。
1.2m questions
2.1m answers
5 comments
56.5k users