I recently had to develop a program in Visual Basic
that needed to interpret a hash chart and convert those numbers into
a binary format. These are the functions that were used to handle
the conversions (you may notice that the Hex2Dec function is the same as
the one posted in a similar ASP tutorial on this site). This first
function accepts a long value, and returns it in binary format:
A second function was used to convert the Hex numbers into Decimal format:
Related Links: Convert Hexademical to Decimal (Javascript and ASP code)
Want to discuss this article, or other development issues? Visit our
message boards!
Or contact us directly with a comment or question on this article: click here !
|