edwyr has asked for the wisdom of the Perl Monks concerning the following question:
I know floats and doubles are IEEE. How do I convert the float (four bytes) to hex. I need the next for a project I'm working on where numbers are not convenient.
(i.e. 1 / 7 = 0.142857142857143 = 0x6FDF1234 ($whatever))
Mike
Back to
Seekers of Perl Wisdom