number_format()
<?
$total_count = 120000000;
$total_count = number_format($total_count,0);
echo "$total_count";
?>
result - 120,000,000
'PHP' 카테고리의 다른 글
데이터형 검사함수(true,false리턴) (0) | 2007.04.03 |
---|---|
변수 데이터형 검사 (0) | 2007.04.03 |
distinct (1) | 2007.02.14 |
트랙백 (0) | 2007.01.24 |
계층형 댓글 자료들 (0) | 2007.01.24 |