<%
Dim intNumber1 , intNumber2
'our two numbers
intNumber1 = 22
intNumber2 = 65
'convert them both
Response.Write "The octal of " & intNumber1 & " is " & Oct(intNumber1) & "<br>"
Response.Write "The octal of " & intNumber2 & " is " & Oct(intNumber2) & "<br>"
Response.Write "The hexadecimal of " & intNumber1 & " is " & Hex(intNumber1) & "<br>"
Response.Write "The hexadecimal of " & intNumber2 & " is " & Hex(intNumber2) & "<br>"
%>
11 Ağustos 2007 Cumartesi
Convert integers into their Hex or Octal value
Subscribe to:
Kayıt Yorumları (Atom)
0 Comments:
Post a Comment