Convert a Decimal value to Hex

ASP
Enter a whole number: (like 1234)

VBScript


This utility uses ASP and VBScript function:

Hex Function - Returns a string representing the hexadecimal value of a number.
This function accepts a whole number. If the value is not already a whole number, it is rounded to the nearest whole number before being evaluated.

Example: Hex(number)

You can represent hexadecimal numbers directly by preceding numbers in the proper range with &H. For example, &H10 represents decimal 16 in hexadecimal notation.

Click here to download a VB.NET version of this application.
Click here for the version with source code.

~Advertisement~

bradhuggins.com

Home | About Me | Music | Computers | Make a donation | Email Me
Copyright © 2010, BradHuggins.com. All rights reserved