Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: How to zero-pad hex values in sprintf()?

by MidLifeXis (Prior)
on Jan 18, 2013 at 21:10 UTC ( #1014128=note: print w/ replies, xml ) Need Help??


in reply to How to zero-pad hex values in sprintf()?

printf("%04x\n", 254)

--MidLifeXis


Comment on Re: How to zero-pad hex values in sprintf()?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2014-08-22 10:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (154 votes), past polls