A Fast Hex 2 Decimal Conversion
Simple way to convert Hex to Dec in one line of code. This code is for Beginners.
Original Author: Billy Conner
Assumptions
The Hex to Dec conversion gives an error if greater val than the MAX value of a long integer.
(2,147,483,647) (&H7FFFFFFF)
Code
MYHEX$ = "7FFFFFFF"
Mydec& = Val("&H" & MYHEX$)
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.