<human>:  convert hex to decimal
<bot>: Here is some code to convert hex string "FFFF" to decimal

int('FFFF', 16)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.