Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by MidLifeXis (Monsignor)
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1014128]
help
Chatterbox?
[Discipulus]: good morning folks!

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2016-12-06 08:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (101 votes). Check out past polls.