1.number_format
{$number|number_format=2} 千分位,保留两位小数
2.round
{$number|round=2} 四舍五入保留两位小数
http://www.bkjia.com/PHPjc/753002.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/753002.htmlTechArticle1.number_format { $number | number_format = 2 } 千分位,保留两位小数 2.round { $number |round = 2 } 四舍五入保留两位小数...