http://qs321.pair.com?node_id=1007267


in reply to Re: integer value to hex value
in thread integer value to hex value

Hi Anamolous monk,

Thanks for the reply.But that was not the one i was looking for.If i have a integer say 55667788, i needed to have this as hex value 0x55667788 and not the hex(55667788).Please share your views on it.

thanks sham

Replies are listed 'Best First'.
Re^3: integer value to hex value
by eyepopslikeamosquito (Archbishop) on Dec 05, 2012 at 11:39 UTC
Re^3: integer value to hex value
by rovf (Priest) on Dec 05, 2012 at 11:38 UTC

    my $hexstr=sprintf('%x',55667788);

    -- 
    Ronald Fischer <ynnor@mm.st>