I had a value of 000D (hex) coming from a table and was finally able to get something like this to work which correctly converted the data to decimal value of 13.
select interpret(BX'0000000D' as integer)
as mentioned here: https://www.ibm.com/support/pages/interpret-built-function