number format modifier

From: Date: Wed, 01 May 2002 14:22:13 +0000
Subject: number format modifier
Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-72@lists.php.net to get a copy of this message
I was suprised this was not already out there, does it make sence to add to the standard Smarty distribution: modifier.number_format.php <?php /* * Smarty plugin * ------------------------------------------------------------- * Type: modifier * Name: number_format * Purpose: format strings via number_format * ------------------------------------------------------------- */ function smarty_modifier_number_format($string, $places) { return number_format($string, $places); } /* vim: set expandtab: */ ?> __________________________________________________ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com

« previous php.smarty.dev (#72) next »