Fixed a bug in convert_floating_decimal_to_hex