Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 wandering the Monastery: (6)
As of 2014-11-26 00:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (160 votes), past polls