码农教程
: php number_format() 函数实例
编辑代码
执行
"; echo $formattedNum; $formattedNum = number_format($num, 2); echo $formattedNum; ?>
结果: