RE: [PHP] Percentages

From: Date: Mon, 25 Jun 2001 03:48:13 +0000
Subject: RE: [PHP] Percentages
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-55092@lists.php.net to get a copy of this message
How 'bout using this hack: function formatPercent ($decimal, $round = 2) { return round($decimal*100, $round).'%'; } --Jason

« previous php.general (#55092) next »