Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: I need Hex conversion, not!

by Corion (Pope)
on Jan 07, 2013 at 13:04 UTC ( #1012022=note: print w/ replies, xml ) Need Help??

in reply to I need Hex conversion, not!

Numbers are numbers. Their format is determined on output. See sprintf.

If you want to use strings, then use strings.

$SM = "0xFE"; print $SM;

Of course, for strings, there is no numeric addition. Maybe you want to tell us more about your use case.

Comment on Re: I need Hex conversion, not!
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012022]
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: (7)
As of 2015-10-13 22:17 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (316 votes), past polls