Re: [SMARTY] problem displaying float
| From: | messju mohr | Date: | Fri, 17 Nov 2006 12:58:28 +0000 |
| Subject: | Re: [SMARTY] problem displaying float | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-13569@lists.php.net to get a copy of this message | ||
On Fri, Nov 17, 2006 at 11:52:23AM -0000, George Pitcher wrote:
[...]
> I've tried using sprintf() with no success.
{"%.2f"|sprintf:$fee}
greetings
messju
> Does anyone have any idea why this is happening?
>
> George in Oxford