Jump to content

hex


Recommended Posts

What I do with something like this is just walk thrhough the code.

$div = 0x3A60000 / 0xDF8

You're dividing hex. try this on a calculator, and see if it's what you expect.

$a1 = "0x" & Hex($div)

don't think you need the 0x there.

$a2 = $a1 * 0xDF8

You multiply it by what you divided.

MsgBox(0,"",Hex($a2))

$a2 is already hex. your converting what you have, to hex again

~~TheCreator~~Visit http://tysdomain.com for personal software and website solutions.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...