Template:Format-money: Difference between revisions
From Zed Wiki
(Created page with "{{#if: {{#formatnum:{{{1|}}}}} | ${{#formatnum:{{{1|}}}}} | $0 }}") |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | |||
This template formats a number as money (e.g., $1,234.56). | |||
</noinclude> | |||
{{#if: {{#formatnum:{{{1|}}}}} | ${{#formatnum:{{{1|}}}}} | $0 }} | {{#if: {{#formatnum:{{{1|}}}}} | ${{#formatnum:{{{1|}}}}} | $0 }} |
Revision as of 03:03, 8 November 2024
This template formats a number as money (e.g., $1,234.56).
{{#if: {{#formatnum:}} | ${{#formatnum:}} | $0 }}