README.md
December 5, 2022 ยท View on GitHub
Description
Simple way to convert Hex to Dec in one line of code. This code is for Beginners.
More Info
The Hex to Dec conversion gives an error if greater val than the MAX value of a long integer.
(2,147,483,647) (&H7FFFFFFF)
| Submitted On | |
| By | Billy Conner |
| Level | Advanced |
| User Rating | 3.3 (13 globes from 4 users) |
| Compatibility | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0 |
| Category | Math/ Dates |
| World | Visual Basic |
| Archive File |
Source Code
MYHEX$ = "7FFFFFFF"
Mydec& = Val("&H" & MYHEX$)