Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: decimal to hex in an array

by Eily (Monsignor)
on Feb 21, 2017 at 10:38 UTC ( [id://1182417]=note: print w/replies, xml ) Need Help??


in reply to Solved : decimal to hex in an array

Well, you only convert even elements to hexadecimal, 345 is not even so it does not get converted to 159 (or actually 0x159).

I don't understand how you expect 2 to not be converted to 0x2 though.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-03-29 13:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found