Home  |  Latest News  |  Contribute  |  F.A.Q.  |  Account  |  Scripts | About
Search ASPNut:
 
ASP Reference
Server Variables
ASP Glossary
Related Sites

Free Components

HTML Reference
Web Colors
Entities
CSS Level 1
Encode/Decode
Glossary

Our Sponsors
ASP Nuke CMS
Free Auctions
PHP 5 Script
Funktastic Blog
ULost Directory
Team Task

 

 

 

 

 

 

 

 

 

 

 

 

Hex

The Hex function converts a whole number into its hexadecimal equivalent. In decimal, the digits go from 0 to 9. In hexadecimal, the digits go from 0 to F (0 .. 9 and A .. F) providing 16 unique digits. This encoding is often used in computer application which rely on hex numbers.

Response.Write "Hex(39) = " & Hex(39)


When generating hexadecimal values for negative numbers, the hex string generated is based on a two-byte value (4 hex digits) where negative one is represented as FFFF.

Response.Write "Hex(-1) = " & Hex(-1)


Orvado Technologies

ASP Nuke CMS
Free Open Source
Content Manager
HomeFix Boards
Home Remodeling
Message Boards

Contact Us | Contribute | About | Site Map



"Watching football is like watching pornography. There's plenty of action, and I can't take my eyes off it, but when it's over, I wonder why the hell I spent an afternoon doing it." - Luke Salisbury

©2010 San Diego Web Design - Orvado Technologies, All Rights Reserved
ASP Nut provides articles and reference documentation for Active Server Page developers.