½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > Ä¿¹Â´ÏƼ > °ñµåÆÁ »ó¼¼º¸±â
Ä¿¹Â´ÏƼ ±¸Àα¸Á÷
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
asp
CSS
html
mysql
jquery
image
Mobile
API
slide
°Ô½ÃÆÇ
¸Þ´º
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
°Ô½ÃÆÇŸÀÌƲ °ñµåÆÁ / »ó¼¼º¸±â
Æ®À§ÅÍ·Î º¸³»±â
Ãßõ¼ö 314 | Á¶È¸¼ö 3,498 | µî·ÏÀÏ 2001-04-05 16:27:13

´Ð³×ÀÓ

HappyCGI

Á¦¸ñ

¼ýÀÚ¿¡¼­ Á¤¼ö¸¸ ±¸Çϱâ
³»¿ë
¾Æ½Ã°ÚÁö¸¸ int ÇÔ¼ö´Â ÀÔ·ÂµÈ ÀÎÀÚ¿¡¼­ Á¤¼ö¸¸ ÃëÇÏ´Â ¿ªÇÒÀ» ÇÕ´Ï´Ù.

¸¸¾à, $a = int (3.141592); ¶ó°í ÇÏ¿´À»¶§, $a¿¡´Â

Á¤¼ö ºÎºÐÀÎ '3' ¸¸ ÃëÇÏ°Ô µË´Ï´Ù.

perlÀº ¹®ÀÚ¿Í ¼ýÀÚ¸¦ ±¸º°ÇÏÁö ¾Ê±â ¶§¹®¿¡ ¼ýÀÚ°¡ µé¾îÀÖ´Â ¹®ÀÚ¿­µµ

°¡´ÉÇÕ´Ï´Ù. $a = int ("3.141592"); µµ ¸Â½À´Ï´Ù.

ex)

5.92 => 5
4.84 => 4
2.7523 => 2
..
..

ÀÚ·áÃâó : http://www.perlmania.or.kr
Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
ÀÌÀü°Ô½Ã±Û ÀԷ¹ÞÀº °ªÀÌ ¼ýÀÚÀÎÁö ¹®ÀÚÀÎÁö ±¸ºÐ 2001-04-05 15:57:57
´ÙÀ½°Ô½Ã±Û ÇÑ±Û ÀÚ¸£±â 2001-04-05 17:07:06