Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 rifling through the Monastery: (6)
As of 2015-08-31 05:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (352 votes), past polls