Skip to content
Browse files

Fixed #19308 - Clarified stringformat filter example

Thanks Shabda Raaj.
  • Loading branch information...
1 parent 04775b4 commit 2564e310141ab0f23b5282ecaec8e820250c355a @timgraham timgraham committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/ref/templates/builtins.txt
View
4 docs/ref/templates/builtins.txt
@@ -1935,9 +1935,9 @@ for documentation of Python string formatting
For example::
- {{ value|stringformat:"s" }}
+ {{ value|stringformat:"E" }}
-If ``value`` is ``"Joel is a slug"``, the output will be ``"Joel is a slug"``.
+If ``value`` is ``10``, the output will be ``1.000000E+01``.
.. templatefilter:: striptags

0 comments on commit 2564e31

Please sign in to comment.
Something went wrong with that request. Please try again.