Olivier Wirz wrote:
Hello,

How can I suppress the leading zeroes, except one when all positions are 0;
for example:

000015 will be 15
000000 will be 0

This is a pretty vague question. How are you outputting the numbers? Are you writing to a file, using print, using printf, etc.?


--
Andrew Gaffney
System Administrator
Skyline Aeronautics, LLC.
776 North Bell Avenue
Chesterfield, MO 63005
636-357-1548


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to