convert to hexa decimal python code example
Example 1: convert hex to decimal python
myDecimalInteger = int("A278832", 16) #Converts to decimal from base 16
Example 2: string hex to decimal python
x = int("deadbeef", 16)
myDecimalInteger = int("A278832", 16) #Converts to decimal from base 16
x = int("deadbeef", 16)