Re: Zero Fill -> Number Format

From: Date: Wed, 19 Mar 2003 23:34:07 +0000
Subject: Re: Zero Fill -> Number Format
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-140360@lists.php.net to get a copy of this message
This one time, at band camp, "Harry.de" <harald.mohring@gmx.de> wrote: > How can I put out a Zero Fill for numbers > The result should be > > $something=26; print str_pad($something, 7, "0", STR_PAD_LEFT); Kevin ______ (_____ \ _____) ) ____ ____ ____ ____ | ____/ / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \____) \_||_| \____) \____) Kevin Waterson Port Macquarie, Australia

« previous php.general (#140360) next »