µù¥U
µn¿ý
º¶
½×¾Âª©³W
¸T¤î¦Cªí
»¡©ú
¦a¹Ï
¼Æ¦ì®Ñ»
¨p¤H®ø®§ (0)
¤½¦@®ø®§ (0)
½×¾Â¥ô°È (0)
¨t²Î®ø®§ (0)
¦n¤Í®ø®§ (0)
©«¤l®ø®§ (0)
³Â»¶®a±Ú°Q½×ª©ª©
»
PHP
»
PHP+MySQL ¤Jªù¹ê§@
» 5-3-3 printf()¨ç¼Æ
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
µo©«
5-3-3 printf()¨ç¼Æ
¤p»x
µoµu®ø®§
¥[¬°¦n¤Í
¤p»x
(¤p»x)
·í«eÂ÷½u
´¿¸g¤]¬O¤ô¹q¤u
UID
9
©«¤l
1190
¥DÃD
394
ºëµØ
113
¿n¤À
1747
ª÷¿ú
1747
ÂI¦W
1
§@·~¨t²Î
Vista
³nÅ骩¥»
Office 2003
¾\ŪÅv
200
©Ê§O
¨k
¨Ó¦Û
¥xÆW
¦b½u®É¶¡
490 ¤p®É
µù¥U®É¶¡
2010-5-1
³Ì«áµn¿ý
2024-11-23
¡@¼ÊºÙ:
¤p»x
¡@ÀY»Î:
´¿¸g¤]¬O¤ô¹q¤u
ºÞ²zû
©«¤l
1190
¥DÃD
394
ºëµØ
113
¿n¤À
1747
ÂI¦W
1
§@·~¨t²Î
Vista
³nÅ骩¥»
Office 2003
¾\ŪÅv
200
©Ê§O
¨k
¨Ó¦Û
¥xÆW
µù¥U®É¶¡
2010-5-1
³Ì«áµn¿ý
2024-11-23
1
#
¸õÂà¨ì
»
˧Ǭݩ«
¥´¦L
¦rÅé¤j¤p:
t
T
µoªí©ó 2011-4-19 09:35
|
¥u¬Ý¸Ó§@ªÌ
5-3-3 printf()¨ç¼Æ
5-3-3 printf()¨ç¼Æ
printf()¨ç¼Æ¥i®Ú¾Ú§Ú̪º®æ¦¡³]©w¨Ó¿é¥X®æ¦¡¤Æªº¦r¦ê¡Aprintf()¨ç¼Æ¸òprint()¨ç¼Æ¤£¦P¡A¸ê®Æ¿é¥X«á¤£·|¦³¦^¶ÇÈ¡G
printf()¨ç¼Æ®æ¦¡
void printf ( string format [, mixed args])
½Æ»s¥N½X
¤W¦¡¤¤¡G¡uformat¡v¬°®æ¦¡³]©w¡A¨Ò¦p¡G
<?
$age="20 ·³";
printf("%d" ,"$age"); //¿é¥X20
?>
½Æ»s¥N½X
¤W¨Ò¤¤¡A§Ú̪º®æ¦¡³]©w¬°¡u%d¡v¤D¬O±N¦r¦ê¡u"20 ·³"¡v®æ¦¡¤Æ¬°¤Q¶i¨î¸ê®Æ¦Ó¿é¥X¡u20¡v¡C
¨Ò¦p¡G¿é¥X¤p¼ÆÂI«á3¦ì¤p¼Æªº¯BÂI«ü¼Æ
<?
$age="20 ·³";
printf("%.3e" ,"$age"); //¿é¥X2.00e+1
?>
½Æ»s¥N½X
®æ¦¡¤Æªº¦r¦ê¤¤¤]¥i¥H¥]§t§ÚÌnÅã¥Üªº¤å¦r¡A¨Ò¦p¡G
<?
$age="20 ·³";
printf("§Ú%.3e·³" ,"$age"); //§Ú2.00e+1·³
?>
½Æ»s¥N½X
¼Ó¥D¼ö©«
½×¾Â¤£Åý¸ê¾ú¤ñ¸û²Lªº¤H¤U¸ü¬d¬Ýªþ¥óªº¥Î·N
EXCEL±MÄÝ°Q½×°Ï¦Û§Y¤é°_¤¤¾Ç¥Í¥H¤W·|û¤è
³Â»¶®a±Ú°Q½×°Ï ³q¥Îª©³W
OFFICE °ò¦±Ð¾Ç¼Æ¦ì¤Æ
ATX ¹q·½¨ÑÀ³¾¹¤â°Ê±Ò°Ê(¤£±µ¥D¾÷ªO±Ò°Ê)
¦Ò¼{Ãö³¬½×¾Âºô¯¸
³Â»¶®a±Ú°Q½×°ÏÁô¨pÅv¬Fµ¦»¡©ú
³Â»¶®a±Ú°Q½×°Ï ¸Û¼xª©¥D
¥Ñ½׾ÂÂà¶iªº¤¤¾Ç¥Íµ¥¯Å¥H¤W·|û,½ÐÃöª`!
14-2 ¸ê®Æ®w¹Ï¤ù¦s¨ú
¦¬ÂÃ
¤À¨É
¤ß¦w¡A¥¦w
µoªí¥ô¦óµL·N¸qªº·PÁ©ÎÄé¤ô¤å³¹¤@«ß¬å,¬Ã±¤±b¸¹,½Ð¸Ô¾\ª©³W!!
¤p»x
µoµu®ø®§
¥[¬°¦n¤Í
¤p»x
(¤p»x)
·í«eÂ÷½u
´¿¸g¤]¬O¤ô¹q¤u
UID
9
©«¤l
1190
¥DÃD
394
ºëµØ
113
¿n¤À
1747
ª÷¿ú
1747
ÂI¦W
1
§@·~¨t²Î
Vista
³nÅ骩¥»
Office 2003
¾\ŪÅv
200
©Ê§O
¨k
¨Ó¦Û
¥xÆW
¦b½u®É¶¡
490 ¤p®É
µù¥U®É¶¡
2010-5-1
³Ì«áµn¿ý
2024-11-23
¡@¼ÊºÙ:
¤p»x
¡@ÀY»Î:
´¿¸g¤]¬O¤ô¹q¤u
ºÞ²zû
©«¤l
1190
¥DÃD
394
ºëµØ
113
¿n¤À
1747
ÂI¦W
1
§@·~¨t²Î
Vista
³nÅ骩¥»
Office 2003
¾\ŪÅv
200
©Ê§O
¨k
¨Ó¦Û
¥xÆW
µù¥U®É¶¡
2010-5-1
³Ì«áµn¿ý
2024-11-23
2
#
µoªí©ó 2011-4-19 09:36
|
¥u¬Ý¸Ó§@ªÌ
¤Uªí¬°®æ¦¡¤Æªº¥i¥Î¸ê®ÆÃþ«¬¡G
Ãþ«¬
»¡©ú
%
®æ¦¡¤Æªº«e¸m²Å¸¹
c
¦r¤¸
s
¦r¦ê
d
¤Q¶i¨î¾ã¼Æ
b
¤G¶i¨î¾ã¼Æ
o
¤K¤G¶i¨î¾ã¼Æ
x
¤p¼gªº¤Q¤»¶i¨î¾ã¼Æ
X
¤j¼gªº¤Q¤»¶i¨î¾ã¼Æ
f
¯BÂI¼Æ
e
«ü¼Æ
printf()¨ç¼Æ¥ç¥i¥Î©ó¸m´«¦P®É®æ¦¡¤Æ¡A¨Ò¦p¡G
<?
$name="©~©ö";
$tall="170";
$me="§Úªº¦W¦r¬O %s ,¨°ª %X ¤½¤À";
printf($me , $name , $tall);
//¿é¥X:§Úªº¦W¦r¬O ©~©ö,¨°ª AA ¤½¤À
?>
½Æ»s¥N½X
¤ß¦w¡A¥¦w
µoªí¥ô¦óµL·N¸qªº·PÁ©ÎÄé¤ô¤å³¹¤@«ß¬å,¬Ã±¤±b¸¹,½Ð¸Ô¾\ª©³W!!
TOP
ÀR«ä¦Û¦b :
¤@Ó¤Hªº§Ö¼Ö¡D¤£¬O¦]¬°¥L¾Ö¦³±o¦h¡A¦Ó¬O¦]¬°¥Lp¸û±o¤Ö¡C
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
EXCEL±MÄÝ°Q½×°Ï
Excel£¸¯ë°Ï
Excelµ{¦¡°Ï
¶i¶¥À³¥Î±M°Ï
OFFICE ¨t¦C
Word
PowerPoint
Access
Office¤£¤À°Ï
µ{¦¡»y¨¥
VB »P VB.Net
C »P C#
Java »P J#
µ{¦¡³]p¤£¤À°Ï
¸ê®Æ®w
ORACLE
My SQL
MS SQL
ºô¶³]p
ASP »P ASP.NET
PHP
PHP+MySQL ¤Jªù¹ê§@
JavaScript
FLASH / ActionScript
HTM/ HTML/ CSS
ºô¶³]p¤£¤À°Ï
¹q¸£»P§@·~¨t²Î
¹q¸£¦UºØµwÅé°Q½×
¤@¯ë¹q¸£³nÅé°Q½×
½×¾Â¨Æ°È
ºÞ²z¤½§i
§ë¶D¤Ï¬M
·s¤â´ú¸Õ
·R ¡E ¥Í¬¡
¤½¯q§G§iÄæ
¥Í¬¡»P·P°Ê
[¦¬Âæ¹¥DÃD]
[Ãöª`¦¹¥DÃDªº·s¦^´_]
[³q¹L QQ¡BMSN ¤À¨Éµ¹ªB¤Í]
¥Ó½Ð¤Í±¡Ãì±µ
Facebook¯»µ·