PHP 保留两位小数,且不四舍五入

$value = '555.09988';

floor($value*100)/100;

猜你喜欢

转载自blog.csdn.net/tty521/article/details/82023492
今日推荐