Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^2: integer value to hex value

by shyam123 (Initiate)
on Dec 05, 2012 at 11:21 UTC ( #1007267=note: print w/replies, xml ) Need Help??

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 (Chancellor) 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 <>

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007267]
[ambrus]: MLX: if it's a work email, then it's probably not Uncle Sam that matters, but what the account managing server at work thinks your name is. Those can differ. For example, we've had two co-workers with identical real name at one point,
[ambrus]: so one got a stupid suffix in the email account (people have email address based on their real name here usually).

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2017-01-19 14:05 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (170 votes). Check out past polls.