Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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


Comment on Re^2: integer value to hex value
Replies are listed 'Best First'.
Re^3: integer value to hex value
by eyepopslikeamosquito (Canon) 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>

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007267]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2015-07-08 05:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (94 votes), past polls