Formatting an integer

From: Date: Tue, 22 Apr 2003 13:08:14 +0000
Subject: Formatting an integer
Groups: php.general 
Request: Send a blank email to php-general+get-144814@lists.php.net to get a copy of this message
Hi list, I have an integer i would want to print as say 001, 002, ..., 010, etc ... Is there a function i can use for that or do i have to count the digits of the number and print as many zeroes as i need before the integer ? thanks in advance

« previous php.general (#144814) next »