Switch to full style
ASP/ASP.net examples
Post a reply

convert integer number to octal,hexadecimal number systems

Sun Apr 03, 2011 11:09 pm

Following code convert integer number to octal and hexadecimal to number systems .
Code:
<% 
Dim intValue1 
,
'initialization to integer  number
intValue1 = 34
 
'
convert them to octal and hexadecimal number systems .
Response.Write "Octal value of " & intValue1 & " is <b>" & Oct(intValue1 ) & "</b><br>" 

Response
.Write "Hexadecimal value of " & intValue1 & " is <b> " & Hex(intValue1 ) & "</b><br>" 
 
%>  




Post a reply
  Related Posts  to : convert integer number to octal,hexadecimal number systems
 convert octal number to decimal number     -  
 convert decimal number to octal number     -  
 convert to binary number     -  
 convert binary number to decimal     -  
 convert hexadecimal to decimal     -  
 convert char*(number) to required unsigned char*     -  
 Number with dot in php     -  
 validation on number     -  
 Number Conversion     -  
 get number from string     -  

Topic Tags

ASP Basics