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

´Ð³×ÀÓ

HappyCGI

Á¦¸ñ

Á¤¼ö,¹Ý¿Ã¸²,¿Ã¸²
³»¿ë
PHP ¿¡´Â ¼Ò¼öÀÇ Á¤¼ö¸¸À» ÀÌ¿ëÇÒ °æ¿ì¿Í
¹Ý¿Ã¸² ¶Ç´Â ¹«Á¶°Ç ¿Ã¸²À» ÇÏ´Â °æ¿ì°¡ ÀÖ´Ù

1. Á¤¼ö

$test = intval(3.5);

Çϸé $test = 3 À¸·Î Á¤¼ö¸¸À» ÃëÇÑ´Ù

2. ¹Ý¿Ã¸² ÇÔ¼ö

$test = round(3.5);
Çϸé $test=4 ·Î ¹Ý¿Ã¸² ¼ö¸¦ ¹ÝȯÇÑ´Ù.

3. ¿Ã¸²ÇÔ¼ö

$test = ceil(3.4);

$test = 4; ÀÇ °ªÀ» ¹ÝȯÇÑ´Ù.

ÀÚ·áÃâó : http://ychat.sarang.net/
Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
ÀÌÀü°Ô½Ã±Û ¾÷µ¥ÀÌÆ® ³¯Â¥ º¸¿©ÁÖ±â 2001-04-13 07:04:58
´ÙÀ½°Ô½Ã±Û [±âÃÊ°­ÁÂ] LWP ¸ðµâ ¼³Ä¡Çϱâ 2001-05-03 10:34:07