Re: [SMARTY] number_format
| From: | Monte Ohrt | Date: | Fri, 25 Jun 2004 14:17:01 +0000 |
| Subject: | Re: [SMARTY] number_format | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11505@lists.php.net to get a copy of this message | ||
You can use string_format modifier which can do anything sprintf() can do, or here is a modifier that uses the PHP number_format function:
http://www.phpinsider.com/smarty-forum/viewtopic.php?t=131
Paul Baranowski wrote:
I was searching around in the manual for php's number_format capability, but couldnt find anything - does it exist in smarty? - Paul Baranowski paul@pollstream.com