<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.midsouthmakers.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AFormat_price%2Fdoc</id>
	<title>Template:Format price/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.midsouthmakers.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AFormat_price%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://wiki.midsouthmakers.org/index.php?title=Template:Format_price/doc&amp;action=history"/>
	<updated>2026-05-01T06:21:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://wiki.midsouthmakers.org/index.php?title=Template:Format_price/doc&amp;diff=3276&amp;oldid=prev</id>
		<title>Dan9186: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://wiki.midsouthmakers.org/index.php?title=Template:Format_price/doc&amp;diff=3276&amp;oldid=prev"/>
		<updated>2010-08-08T21:10:19Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
This template display numbers typically representing prices in a pleasant way, ideally suited for articles. Numbers one thousand or greater are reduced down and rounded to a total of three digits followed by a multiplier text, and smaller numbers received separators and exactly two digits to represent cents, what doesn&amp;#039;t always happen with the &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{formatnum:}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; [[Help:Magic words|magic word]].&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
&lt;br /&gt;
 {{tlx|Formatprice|value|digits}}&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;value&amp;#039;&amp;#039;&amp;#039; – the value that will be formatted and displayed (required).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;digits&amp;#039;&amp;#039;&amp;#039; – sets the digit in which a value lower than one thousand must be rounded, defaulting to &amp;quot;2&amp;quot; (cents) if unspecified.&lt;br /&gt;
&lt;br /&gt;
Providing non-numeric parameters, failing to provide any parameter, or providing a negative &amp;#039;&amp;#039;value&amp;#039;&amp;#039; parameter, result all in a link to the [[NaN]] article.&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
* {{aye}} {{tlx|Formatprice|1.2}} = {{Formatprice|1.2}}&lt;br /&gt;
* {{aye}} {{tlx|Formatprice|456.789}} = {{Formatprice|456.789}}&lt;br /&gt;
* {{aye}} {{tlx|Formatprice|456.789|1}} = {{Formatprice|456.789|1}}&lt;br /&gt;
* {{aye}} {{tlx|Formatprice|456.789|0}} = {{Formatprice|456.789|0}}&lt;br /&gt;
* {{aye}} {{tlx|Formatprice|456.789|-2}} = {{Formatprice|456.789|-2}}&lt;br /&gt;
* {{aye}} &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039;{{tlx|Formatprice|1234}}&amp;lt;/tt&amp;gt; = ${{Formatprice|1234}}&lt;br /&gt;
* {{aye}} &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039;{{tlx|Formatprice|12345}}&amp;lt;/tt&amp;gt; = ${{Formatprice|12345}}&lt;br /&gt;
* {{aye}} &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039;{{tlx|Formatprice|123456}}&amp;lt;/tt&amp;gt; = ${{Formatprice|123456}}&lt;br /&gt;
* {{aye}} &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039;{{tlx|Formatprice|1000000}}&amp;lt;/tt&amp;gt; = ${{Formatprice|1000000}}&lt;br /&gt;
* {{aye}} &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;¥&amp;#039;&amp;#039;&amp;#039;{{tlx|Formatprice|98765432109876}}&amp;lt;/tt&amp;gt; = ¥{{Formatprice|98765432109876}}&lt;br /&gt;
* {{aye}} &amp;lt;tt&amp;gt;{{tlx|Formatprice|7.86178E+25}} atoms&amp;lt;/tt&amp;gt; = {{Formatprice|7.86E+25}} atoms&lt;br /&gt;
* {{nay}} {{tlx|Formatprice}} = {{Formatprice}}&lt;br /&gt;
* {{nay}} {{tlx|Formatprice|{{!}}0}} = {{Formatprice||0}}&lt;br /&gt;
* {{nay}} {{tlx|Formatprice|-100}} = {{Formatprice|-100}}&lt;br /&gt;
* {{nay}} {{tlx|Formatprice|xyz|A}} = {{Formatprice|xyz|A}}&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
&lt;br /&gt;
* {{tl|Inflation}}&lt;br /&gt;
* {{tl|Inflation-fn}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
{{DEFAULTSORT:{{BASEPAGENAME}}}}&lt;br /&gt;
[[Category:Currency]]&lt;br /&gt;
[[Category:Currency conversion templates]]&lt;br /&gt;
[[Category:Economics templates]]&lt;br /&gt;
[[Category:Finance templates]]&lt;br /&gt;
[[Category:Miscellaneous templates]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dan9186</name></author>
	</entry>
</feed>