Jump to content

Displaying a hex value in hex?


BPM
 Share

Recommended Posts

I have a problem, whenever I set a variable to a number in hex (for example, 0x01234567), and when I put that var into a msgbox, it displays it as a decimal number!

How can I get it to desplay exactly as the hex number is written? (I want the message box to show "0x01234567", not the decimal number)

This code, will show hex number "0x01234567" as 19088743. What must I do to make it show it as hex?

$Hex = 0x01234567

MsgBox(0, "test", $Hex)
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...