案例:php案例     状态:不可编辑再运行    进入竖版
 运行结果 
x
 
1
2
3
4
<!DOCTYPE html>
5
<html>
6
<body>
7
8
<?php
9
echo number_format("5000000")."<br>";
10
echo number_format("5000000",2)."<br>";
11
echo number_format("5000000",2,",",".");
12
?>
13
  
14
</body>
15
</html>
16
17
18