A 5 digit question
| From: | zavaboy | Date: | Fri, 16 May 2003 16:39:46 +0000 |
| Subject: | A 5 digit question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-147926@lists.php.net to get a copy of this message | ||
How can I make a number less than 5 digits into 5 digits by adding zeros to
the end of the number?
e.g.
// Input:
$n = 246;
// Output:
24600
I'm somewhat new to PHP... I just joined this newsgroup too!
Thanks in advance!