How 'bout using this hack:
function formatPercent ($decimal, $round = 2) {
return round($decimal*100, $round).'%';
}
--Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP] Percentages Tim Thorburn
- Re: [PHP] Percentages Rasmus Lerdorf
- Re: [PHP] Percentages David Robley
- Re: [PHP] Percentages John Meyer
- Jason Lustig

