note 8736 deleted from printf by ronabop
| From: | ronabop@php.net | Date: | Fri, 29 Sep 2000 14:09:57 +0000 |
| Subject: | note 8736 deleted from printf by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5678@lists.php.net to get a copy of this message | ||
anyone know how to left fill zeros on an integer?
my $first = #
my $second = 65000
my $third=48J
printf ( fill this in )
to get:
#0065000.0048J
(first&third are constants, second can be 0000000.00 - 9999999.99