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)
|
 |

|