print round(0.5749,2) . "\n"; print round(1.5749,2) . "\n"; print round(2.5745,2) . "\n"; 0.57 1.57 2.57
但一定是0.58 1.58 和 2.58。
尝试
ceil()
而不是
round()