Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: integer value to hex value

by blue_cowdawg (Monsignor)
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 taking refuge in the Monastery: (13)
As of 2014-09-18 18:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (120 votes), past polls