round(1654654956.82,2); //输出结果:1654654956.8199999
round(785548121.11,2); //输出结果:785548121.11000001
round(55448.126.82,2); //输出结果:55448.129999999997
round(785548121.11.82,2); //输出结果:785548121.11000001
round(5456489.15,2); //输出结果:5456489.1500000004
从输出结果来看,并没有按照约定的保留两位小数,求指导
但是有些数字就可以,比如5.5448126
的输出结果是5.54
问题原因参考:https://www.cnblogs.com/xiezh...
解决方案:http://www.php.net/manual/zh/...