Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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
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>
Re^3: integer value to hex value
by eyepopslikeamosquito (Canon) on Dec 05, 2012 at 11:39 UTC

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: (11)
As of 2014-12-19 15:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (85 votes), past polls