$b = 468.7+468.7+468.7+468.7+468.7+468.7+468.7+175+175+175+175+175+175+175+175+175+175+175+175+175+175+689.8+689.8+0+0+0;
echo "<br><======>".$b;//gives 7110.5
echo "<br><======>".round($b);//gives 7111
2)
$k = 7110.5;
echo "<br><======>".$k; // gives 7110.5
echo "<br><======>".round($k);//gives 7111
3)
$c = 175+468.7+175+689.8+175+468.7+175+468.7+175+689.8+175+175+468.7+175+175+175+468.7+175+175+175+468.7+175+468.7;
echo "<br><======>".$c; // gives 7110.5
echo "<br><======>".round($c); // gives 7110
,如果你在第3检查如围捕工作正常值是不正确的,它必须是7111. 在第1和第3例中,唯一的区别是值的排列。
请说明为什么给出的第三个如未能
检查5.6工作正常,可能与5.1有些问题 –