¡¡¡¡ÔÚ¿´Ä³ÈÕÖ¾Îļþʱ£¬ ¿´µ½Ò»´® 16 ½øÖÆÊý×Ö£¬ËäÈ»¿ÉÒÔÓà Windows µÄ¼ÆËãÆ÷À´×ª»»£¬µ«ÊǸоõÌ«Âé·³£¬ ±ãÏëµ½ÁË bc £¬ÓÚÊÇÓÐÁËÕâƪÎÄÕ¡£
bc ÊÇÓà ibase ºÍ obase À´½øÐÐÊäÈë½øλÖƺÍÊä³ö½øλÖƵĶ¨ÒåµÄ¡£ ĬÈ϶¼ÊÇÊ®½øÖÆ¡£
¿ÉÊÇÈç¹ûÉèÖà ibase = 16 ºó£¬ obase д³É 10 ¾Í²»¿ÉÒÔÁË¡£
Ó¦¸Ãд³É obase = A £¬ ²ÅÄÜÍê³ÉÕý³£µÄת»¯
ÏÂÃæÊÇÔËÐеÄÀý×Ó£º
[root@mail LAMP]# bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
ibase = 16
obase = A
8C
140
A1
161
1A
26
Çë×¢Òâ16½øÖƵÄÊý×Ö¡¡A-F ±ØÐëÓôóд¡£¡¡Ð¡Ð´»á±»ÈÏΪÊDZäÁ¿¡£
£¨³ö´¦£ºhttp://www.sheup.com£©