pad numbers
| From: | Diana Castillo | Date: | Fri, 10 Oct 2003 14:44:38 +0000 |
| Subject: | pad numbers | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-165746@lists.php.net to get a copy of this message | ||
is there a function to convert a number that has less than two digits into a
number with a leading zero?
for instance, to convert a "5" to "05" but to leave a "11" as
"11"
thanks,
Diana