turn hex to decimal python code example
Example 1: convert hex to decimal python
myDecimalInteger = int("A278832", 16) #Converts to decimal from base 16
Example 2: ascii to decimal python
>>> ord('a')
97
>>> chr(98)
'b'
myDecimalInteger = int("A278832", 16) #Converts to decimal from base 16
>>> ord('a')
97
>>> chr(98)
'b'