Dear Geert,
I entered {{ total_amount|stringformat:".2f" }} and it realy worked :-)
Actualy I red the STRINGFORMAT docu but I didn't get the clue. Now I
do...
Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
Hi Rob,
On Mar 9, 2006, at 1:22 AM, Rob Slotboom wrote:
>
> I tried to use stringformat within a template but without success.
> This is what I want in 'normal' syntax':
>
> return "%.2f" % total_amount
>
> It returns a two decimal value.
>
> But how to use it in the template???
Try this in a t
On 3/9/06, Rob Slotboom <[EMAIL PROTECTED]> wrote:
>
> I tried to use stringformat within a template but without success.
> This is what I want in 'normal' syntax':
>
> return "%.2f" % total_amount
>
> It returns a two decimal value.
>
> But how to use it in the template???
>
Where and how do you
I tried to use stringformat within a template but without success.
This is what I want in 'normal' syntax':
return "%.2f" % total_amount
It returns a two decimal value.
But how to use it in the template???
--~--~-~--~~~---~--~~
You received this message because
4 matches
Mail list logo