Re: [SMARTY] problem displaying float

[email protected] (messju mohr) Fri, 17 Nov 2006 13:58:28 +0100
Newsgroups 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