简单教程
提交运行
代码编辑器:
<?php echo number_format("1000000") ,"<br>"; echo number_format("1000000",2),"<br>"; echo number_format("1000000",2,",",".");
运行结果: