Re: A 5 digit question
| From: | zavaboy | Date: | Fri, 16 May 2003 17:09:39 +0000 |
| Subject: | Re: A 5 digit question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-147933@lists.php.net to get a copy of this message | ||
OK! It workz! thanks!
"Zavaboy" <zavaboy@hotmail.com> wrote in message
news:20030516163941.5028.qmail@pb1.pair.com...
> 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!
>
>