Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21238

Hexadecimal to Decimal

$
0
0
Hi guys.

I have a little problem converting Hexadecimal Values to Decimal values.

Coming from Javascript i had the function:

alert(parseInt("4dc0099df16a60a2cfe6cd65d4428794", 16));

Result: 1.0334767172749964e+38

I know the function:
CLng

But when i try

MsgBox CLng("&H4DC0099DF16A60A2CFE6CD65D4428794")

i always get: Type Mismatch Error.

Can anyone please help me.

Thanks much in advance!!!

Viewing all articles
Browse latest Browse all 21238

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>