Dc=10Áø¼ö, Hx=16Áø¼ö, Ch=±ÛÀÚ

HTML Code
<HEAD> <SCRIPT Language="Javascript"> <!-- °¨Ãã var str, chr; function hexa(numb){ var nb1 = Math.floor(numb/16); // 16À¸·Î ³ª´« ¼Ò¼öÁ¡ ¾ø´Â Á¤¼ö var nb2 = numb%16; // 16À¸·Î ³ª´©°í ³ª¸ÓÁö convert(nb1); str=''+chr; convert(nb2); str+=chr; } function convert(nr){ if (nr==10){ chr='A'; } else if (nr==11){ chr='B'; } else if (nr==12){ chr='C'; } else if (nr==13){ chr='D'; } else if (nr==14){ chr='E'; } else if (nr==15){ chr='F'; } else{ chr=nr; } } // °¨Ãã ³¡ --> </SCRIPT> </HEAD> <BODY> <DIV align=center class=small>Dc=10Áø¼ö, <SPAN class=teal>Hx=16Áø¼ö</SPAN>, <SPAN class=blue>Ch=±ÛÀÚ</SPAN></DIV> <TABLE border=1 cellpadding=3 cellspacing=0 align=center> <TR bgcolor=dddddd align=center> <SCRIPT Language="Javascript"> <!-- °¨Ãã for (i=1;i<=8;i++) document.write('<TD>Dc</TD><TD class=teal>Hx</TD><TD class=blue>Ch</TD>'); document.write('</TR><TR>'); for (i=1;i<256;i++){ hexa(i); document.write('<TD align=right>'+i+'</TD><TD align=right class=teal>'+str+'</TD>'+ '</TD><TD align=right><FONT color=0000ff>'+unescape("%"+str)+'</TD>'); if (i%8==0) document.write('</TR><TR>'); } // °¨Ãã ³¡ --> </SCRIPT> </TR> </TABLE> </BODY>