Codex Gamicus
(Created page with "{{#iferror:{{ #ifexpr:({{{1}}} >= 1E+27) | {{formatnum:{{Format price/digits|{{#expr:{{{1}}} / 1E+27}}}}}} octillion}}{{ #ifexpr:(({{{1}}} >= 1E+24) and ({{{1}}} < 1E+27)...")
Line 19: Line 19:
 
| {{Format price/digits|{{#expr:{{{1}}} / 1E+3}}}}&nbsp;thousand}}{{
 
| {{Format price/digits|{{#expr:{{{1}}} / 1E+3}}}}&nbsp;thousand}}{{
 
#ifexpr:(({{{1}}} >= 0) and ({{{1}}} < 1E+3))
 
#ifexpr:(({{{1}}} >= 0) and ({{{1}}} < 1E+3))
| {{formatnum:{{#expr:{{{1|}}} round {{{2|2}}}}}}}{{#ifexpr:(({{{2|2}}} = 1) or ({{{2|2}}} = 2))|{{#ifexpr:((((({{{1|}}} round {{{2|2}}})*100) round 1) mod 100) = 0)|.00|{{#ifexpr:((((({{{1|}}} round {{{2|2}}})*100) round 1) 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 07:25, 10 October 2014

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?)