Template:Money

From QBWiki
Jump to navigation Jump to search

0

For formatting dollar amounts in standard $XXXX.YY format.

  • Does not add commas
  • Will not add decimals if the number is whole
  • Truncates rather than rounds
Input Output
{{Money|1200}}
1200
{{Money|12.30}}
12.30
{{Money|11.3}}
11.30
{{Money|187.921}}
187.92
{{Money|9.}}
9.