PHP number format()

Jmnote (토론 | 기여)님의 2015년 7월 13일 (월) 09:57 판 (→‎같이 보기)

1 개요

number_format()
$num = 1234.5678;
echo number_format($num);
echo number_format($num,2);
echo number_format($num,6);
# 1,235
# 1,234.57
# 1,234.567800

2 같이 보기

3 참고 자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}