"PHP number format()"의 두 판 사이의 차이

(새 문서: ==개요== ;number_format() <source lang='php'> $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 <...)
 
잔글 (Jmnote 사용자가 Number format 문서를 PHP number format() 문서로 옮겼습니다)
(차이 없음)

2015년 7월 13일 (월) 09:55 판

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 같이 보기

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