Hi,

On 2/26/10 5:26 AM, kevin wrote:
> hi guys
> can you add a filter for commifying a number
> for ex
> 
> 10000000 should become 10,000,000
That depends on the locale you are using.  For German one would place
dots for the commas for instance.  What you want do to is to use babel,
and to register the format_decimal function as Jinja filter.

Regards,
Armin

-- 
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pocoo-libs?hl=en.

Reply via email to