I was wondering about how to commafy large digits in jinja so that instead of [$10000 / $100000 / $1000000] these numbers would be displayed as such [$10,000 / $100,000 / $1,000,000]
I've been looking all over but surprisingly couldn't find a quick simple solution.
usd
function in helpers displays floats with thousands separator. Hint: you can pipe a fload to usd in the html e.g.total | usd
. FYI here is the doc on the format specifier mini-language