Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
May 4, 1998

Converting between hex/decimal

Question:
Is there a way to 'easily' convert between Hexadecimal and decimal with VB 5.0 Profesional. (ie. Without doing the long conversion from hex to ascii, then using the conversion factor, then to decimal) or simply given a Hex number calculating an error checking (Check Sum) operation?

Answer:
There are some built-in functions to perform these conversions. Specifically, look for the Hex and Val functions.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date