Float and hexadecimal conversion