[%- MACRO commify(n) GET n.replace('\.\d+$','').chunk(-3).join(',') _ +n.replace('^\d+', '') %]
In reply to Re^2: Template Toolkit Formatting Data Question (sprintf and commafy)
by Anonymous Monk
in thread Template Toolkit Formatting Data Question (sprintf and commafy)
by Tyraziel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |