Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: integer value to hex value

by blue_cowdawg (Prior)
on Dec 05, 2012 at 14:05 UTC ( #1007295=note: print w/ replies, xml ) Need Help??


in reply to integer value to hex value

If you are taking 66778899 and converting it to 0x66778899 why not:

my $val = "0x" . $val;
Maybe I'm missing something here....


Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg


Comment on Re: integer value to hex value
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2014-09-01 11:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (6 votes), past polls