Codex Gamicus
im>TwoTailedFox
Line 21: Line 21:
 
| {{formatnum:{{#expr:{{{1}}} round {{{2|2}}}}}}}{{#ifexpr:(({{{2|2}}} = 1) or ({{{2|2}}} = 2))|{{#ifexpr:(((({{{1}}} round {{{2|2}}})*100) mod 100) = 0)|.00|{{#ifexpr:(((({{{1}}} round {{{2|2}}})*100) mod 10) = 0)|0}}}}}}}}{{
 
| {{formatnum:{{#expr:{{{1}}} round {{{2|2}}}}}}}{{#ifexpr:(({{{2|2}}} = 1) or ({{{2|2}}} = 2))|{{#ifexpr:(((({{{1}}} round {{{2|2}}})*100) mod 100) = 0)|.00|{{#ifexpr:(((({{{1}}} round {{{2|2}}})*100) mod 10) = 0)|0}}}}}}}}{{
 
#ifexpr:({{{1}}} < 0)|[[NaN]]}}|[[NaN]]}}<noinclude>
 
#ifexpr:({{{1}}} < 0)|[[NaN]]}}|[[NaN]]}}<noinclude>
{{documentation}}
+
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 20:43, 29 June 2016

NaN

Template documentation (for the template shown above, sometimes hidden or invisible)
Template:Format price/doc

Visit Template:Format price/doc to edit this text! (How does this work?)