Results 1 to 2 of 2

Thread: [RESOLVED] Converting a hex variable into dec

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2007
    Posts
    38

    Resolved [RESOLVED] Converting a hex variable into dec

    Hi everyone,
    I have a small problem with something I am currently working on, it retrieves data from a file in hex. So my variable valueD = 1AB2C0 .
    I've been trying to find a way to convert that to decimal, I want to use something like valueD = clng(valueD).

    If anyone can help me out that would be great!

    Edit: Never mind, I found out if i added a &h before the string I could get the value
    Last edited by JohnNewman; Jul 28th, 2007 at 11:40 AM.

  2. #2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width