Changes

Jump to navigation Jump to search
m
Changed protection level of Template:Format price: Highly visible template: Switching to template-editor (vs full) now that this right exists. Requested at RFPP ([Edit=Require template editor access] (indefinite) [Move=Requir...
{{#iferror:{{
#ifexpr:({{{1}}} >= 1E+27)
| {{formatnum:{{Format price/digits|{{#expr:{{{1}}} / 1E+27}}}}}} octillion}}{{
#ifexpr:(({{{1}}} >= 1E+24) and ({{{1}}} < 1E+27))
| {{Format price/digits|{{#expr:{{{1}}} / 1E+24}}}}&nbsp;septillion}}{{
#ifexpr:(({{{1}}} >= 1E+21) and ({{{1}}} < 1E+24))
| {{Format price/digits|{{#expr:{{{1}}} / 1E+21}}}}&nbsp;sextillion}}{{
#ifexpr:(({{{1}}} >= 1E+18) and ({{{1}}} < 1E+21))
| {{Format price/digits|{{#expr:{{{1}}} / 1E+18}}}}&nbsp;quintillion}}{{
#ifexpr:(({{{1}}} >= 1E+15) and ({{{1}}} < 1E+18))
| {{Format price/digits|{{#expr:{{{1}}} / 1E+15}}}}&nbsp;quadrillion}}{{
#ifexpr:(({{{1}}} >= 1E+12) and ({{{1}}} < 1E+15))
| {{Format price/digits|{{#expr:{{{1}}} / 1E+12}}}}&nbsp;trillion}}{{
#ifexpr:(({{{1}}} >= 1E+9) and ({{{1}}} < 1E+12))
| {{Format price/digits|{{#expr:{{{1}}} / 1E+9}}}}&nbsp;billion}}{{
#ifexpr:(({{{1}}} >= 1E+6) and ({{{1}}} < 1E+9))
| {{Format price/digits|{{#expr:{{{1}}} / 1E+6}}}}&nbsp;million}}{{
#ifexpr:(({{{1}}} >= 1E+3) and ({{{1}}} < 1E+6))
| {{Format price/digits|{{#expr:{{{1}}} / 1E+3}}}}&nbsp;thousand}}{{
#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}}}}}}}}{{
#ifexpr:({{{1|}}} < 0)|[[NaN]]}}|[[NaN]]}}<noinclude>
{{documentation}}
</noinclude>
Anonymous user

Navigation menu