Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: number formatting

by nardo (Friar)
on Aug 08, 2001 at 18:57 UTC ( #103072=note: print w/replies, xml ) Need Help??


in reply to number formatting

Using %010d in printf or sprintf will 0 pad them to a length of 10 (the leading 0 will pad them with zeroes and the remainder of the number is the length).

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2022-05-22 01:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (78 votes). Check out past polls.

    Notices?