Is there a django template filter to display percentages?

Posted by jbochi on Stack Overflow See other posts from Stack Overflow or by jbochi
Published on 2010-05-01T19:36:12Z Indexed on 2010/05/01 19:47 UTC
Read the original article Hit count: 169

I would like something similar to the string formatting from the standard library.

'%' Percentage. Multiplies the number by 100 and displays in fixed ('f') format, followed by a percent sign.

© Stack Overflow or respective owner

Related posts about django

Related posts about django-templates