We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a27a5dc commit 15bcd28Copy full SHA for 15bcd28
jinja/format-thousands.md
@@ -2,7 +2,7 @@
2
3
Here's how to format a number in Jinja with commas for thousands, without needing any custom filters or template functions:
4
5
- {{ "{:,}".format(row_count) }} row{{ "" if row_count == 1 else "s" }}
+ {{ "{:,}".format(row_count) }}
6
7
Output looks like this:
8
0 commit comments