PHP保留两位小数(不四舍五入) 0 By 董德多 on 2019年2月21日 PHP function FA($a){ $result = intval($a * pow(10, 2))/ pow(10, 2); return $result; } 两位小数 四舍五入