string to hex value

Joined
Apr 10, 2007
Messages
1
Reaction score
0
So in my program I ended up with a hexadecimal string.
eg: ad='0xc034dda2' and i need to convert this to a hexadecimal value because i need to perform arithmetic operations on it (subtraction and addition)


I've tried searching forums and such for solutions, but nothing so far helped.
How exactly do I go about that? int() obviously won't work, as hex () won't either... so I am at a bit of a loss...

Thanks :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top