How To Use CLng() to Convert Hexadecimal Number back to Decimal in VBScript (279115)
The information in this article applies to:
- Microsoft Internet Explorer (Programming) 4.0
- Microsoft Internet Explorer (Programming) 4.01
- Microsoft Internet Explorer (Programming) 4.01 SP1
- Microsoft Internet Explorer (Programming) 4.01 SP2
- Microsoft Internet Explorer (Programming) 5
- Microsoft Internet Explorer (Programming) 5.01
- Microsoft Internet Explorer (Programming) 5.01 SP1
- Microsoft Internet Explorer (Programming) 5.5
This article was previously published under Q279115 SUMMARY
In Microsoft Visual Basic Scripting Edition (VBScript), you can use the Hex function to convert a decimal to a hexadecimal number. This article contains sample code that converts 32-bit signed hexadecimal values back to decimal.
REFERENCES
For more information on the Hex function, see the following Microsoft Developer Network (MSDN) Web site:
For more information on the CLng function, see the following MSDN Web site:
For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:
Modification Type: | Major | Last Reviewed: | 5/11/2006 |
---|
Keywords: | kbhowto kbScript KB279115 |
---|
|