´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net) ÀÔ±¹Çϱâ | ¿µÁÖ±Ç ½Åû
  • ¸öºÎ¸² °ñ¶ó°ñ¶ó
  • ¼Ò±Ù¼Ò±Ù
  • µµ¶õµµ¶õ
  • ³«¼­¸¶´ç
  • Âø°¢ÇѾÆÀÌ
  • ¼ýÀÚ¸ÂÃß±â
  • ¼Ò¿øºô±â
  • ÈçÀû³²±â±â
  • ²Þ¼Ó¿©Çà
  • Ä£±¸Áý ³î·¯°¡±â
  • ¸ðµÎµå¸²´ÔÀÇ È¨
  • î¤éÞ´ÔÀÇ È¨
  • Çö¿ì´ÔÀÇ È¨
  • º°¾ÆÇØ´ÔÀÇ È¨
  • ÇÞ»ì´ÔÀÇ È¨
  • À̳ª´Ï´ÔÀÇ È¨
  • À¯¸®¾Ë´ÔÀÇ È¨
  • ³È³ÈÀÌ´ÔÀÇ È¨
  • ²ÀÁö´ÔÀÇ È¨
  • ´ë¼º´ÔÀÇ È¨
  • î¤éÞ / 2007-03-09 / ¿ÀÀü 1:31:42 / 221.152.73.203
    Á¶È¸¼ö : 960
    [Áú¹®] Áø¹ý º¯È¯
    <%
    a1 = "1010"
    b1 = "0101"
    %>
    <%a2=BinToN(a1, 2)%><%=a2%><BR><BR>
    <%b2=BinToN(b1, 2)%><%=b2%><BR><BR>
    <%c2=a2 or b2%><%=c2%><BR><BR>
    <%=DecToN(c2, 2)%>

    <%
    function BinToN(byval strValue, intNotation)
    intLen = Len(strValue)

    for i = 1 to intLen
    intCipher = Int(Mid(strValue, intLen-i+1, 1))
    intResult = intResult + (intNotation^(i-1) * intCipher)
    next

    BinToN=intResult
    end function
    %>


    <%
    function DecToN(byval strValue, intNotation)
    strResult=""

    do while true
    strResult=(strValue Mod intNotation) & strResult
    strValue=(strValue - (strValue Mod intNotation)) / intNotation
    if strValue=0 then exit do
    loop

    DecToN = strResult
    end function
    %>
    Byte * 200 Byte À̳»·Î ÀÔ·ÂÇϼ¼¿ä À̸§ : Æнº¿öµå :