http://www.perlmonks.org?node_id=1019251


in reply to Float/double to hex?

Search?

I try it :)

 [to hex], [convert to hex] to hex, convert to hex -> How to zero-pad hex values in sprintf()?, integer value to hex value, Convert to Hexadecimal, Converting Hexadecimal to Decimal notation and vice-versa

so sprintf '%x' ... or unpack 'H*', ... or Math::BigInt->as_hex

The Perl Monks Guide to the Monastery