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

(zdog) Re: Output numbers in hex

by zdog (Priest)
on Jul 08, 2002 at 07:09 UTC ( #180105=note: print w/ replies, xml ) Need Help??


in reply to Output numbers in hex

This may be what you're looking for:

printf ("%x", 0xf4a);

See sprintf and printf for more information.

Zenon Zabinski | zdog | zdog@perlmonk.org


Comment on (zdog) Re: Output numbers in hex
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2014-12-22 16:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (121 votes), past polls