Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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

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 musing on the Monastery: (4)
As of 2016-07-01 00:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (405 votes). Check out past polls.