number_format 

number_format ¸í·É »ç¿ë ÇÏ¸é µË´Ï´Ù....

»ç¿ë ÇϽô ¹æ¹ýÀº¿ä....
$num = 123456789;
$res = number_format($num);
echo $res; 
À§¿¡Ã³·³ ÇÏ½Ã¸é °á°ú´Â 123,456,789 ·Î Ç¥½Ã µË´Ï´Ù...

±×°Í¸»°íµµ ¸î°¡Áö ¿É¼ÇÀÌ Àִµ¥¿ä...
¿¹¸¦µé¾î ¼Ò¼öÁ¡ ¾Æ·¡ 2ÀÚ¸®±îÁö Ç¥½ÃÇÏ°í ½ÍÀ¸½Ã´Ù¸é...
¾Æ·¡Ã³·³ ÇÏ½Ã¸é µË´Ï´Ù...
$num = 123456789;
$res = number_format($num,2);
echo $res;
À§¿¡Ã³·³ ÇÏ½Ã¸é °á°ú´Â 123,456,789.00 ÀÌ µÇ°í¿ä,

õ´ÜÀ§¸¶´Ù Âï¾îÁö´Â , ³ª ¼Ò¼öÀÚ¸® Ç¥½ÃÇÏ´Â . ´ë½Å ´Ù¸¥ ¹®ÀÚ¸¦ Ç¥½Ã ÇÒ¼öµµ ÀÖ½À´Ï´Ù.... ¹æ¹ýÀº ¾Æ·¡¿Í °°°í¿ä...
$num = 123456789;
$res = number_format($num,2,"/","-");
echo $res;
°á°ú´Â 123-456-789/00 ÀÌ µË´Ï´Ù...