Re: [SMARTY] problem displaying float
messju mohr <[email protected]> Fri, 17 Nov 2006 13:58:28 +0100
| Newsgroups | gmane.comp.php.smarty.general |
|---|---|
| Message-ID | <[email protected]> |
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
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php