nine9 has asked for the wisdom of the Perl Monks concerning the following question:
The problem now is that if, say, the time is 11:05am, it will say 11:5. How do I tell it to make the 5 into 05. (e.g. in GW-BASIC one could use the print using ##</T>> statement...)
~nine9
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Representing a single-digit number as two-digits
by Anonymous Monk on Dec 30, 1999 at 23:12 UTC | |
|
RE: Representing a single-digit number as two-digits
by Anonymous Monk on Dec 30, 1999 at 22:09 UTC | |
|
Re: Representing a single-digit number as two-digits
by Anonymous Monk on Dec 30, 1999 at 23:26 UTC | |
|
Re: Representing a single-digit number as two-digits
by Anonymous Monk on Dec 30, 1999 at 23:26 UTC |