Re: New plugin
| From: | Joscha Feth | Date: | Fri, 30 May 2003 23:01:49 +0000 |
| Subject: | Re: New plugin | ||
| References: | 1 2 3 4 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1525@lists.php.net to get a copy of this message | ||
Patrick Emond wrote:
> 13990 -> 14.0K
> 4520000 -> 4.5M
> 123 -> 123
> etc.
>
> Simply use like any other modifier: {$variable|size_postfix}
>
> The name isn't so good so if anyone can think of anything better to
> call it please let me know.
Hi there,
http://dev.feth.com/PHP/Smarty/modifier.fsize_format.phps
greets,
Joscha