HexToDec: use more appropriate answer_type.