Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001062

Re: [PHP] Percentages From: John Meyer (john_meyer <email protected>)
Date: 06/24/01

On Sun, 24 Jun 2001, David Robley wrote:
> On Mon, 25 Jun 2001 12:04, Tim Thorburn wrote:
> > Hi,
> >
> > Working on a site that needs some billing information. Once upon a
> > time done in ASP where we had the option to use the FormatPercent
> > command - is there an equivalent command within PHP?
> >
> > Using PHP 3.0.16
>
> Stab in the dark as I dunno exactly what FormatPercent does -
> number_format, printf or sprintf.

Takes a decimal number and formats it as a percentage.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>