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