printf("%02d", $integer); Use sprintf() if you want to save output.

Larry


           
-----------------------------------------------------------------------------------------------------------------------
 
                                                                                       
                                            
                                               To: [EMAIL PROTECTED]                   
                                    
                                               cc:                                     
                                            
           "Harry.de"                          Subject:  [PHP] numberformat            
                                            
           <[EMAIL PROTECTED]>                                                         
                                        
           07/15/03 10:49 AM                                                           
                                            
                                                                                       
                                            
                                                                                       
                                            





Is there a way, to define an integer number e.g. 7, to be defined as 07?
(Maybe with numberformat)

Harry



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php







-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to