Difference between revisions of "Template:INRConvert/out"

From blackwiki
Jump to navigation Jump to search
imported>Primefac
m (Changed protection level for "Template:INRConvert/out": high-risk template with 2000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
imported>Jonesey95
(fix invalid input to formatnum causing articles to appear in Category:Pages with non-numeric formatnum arguments)
Line 17: Line 17:
 
   }}
 
   }}
 
   |{{#switch:{{#expr:{{{2|0}}}+(100=({{{1|1}}}E(1-{{{2|0}}}))round0)}}
 
   |{{#switch:{{#expr:{{{2|0}}}+(100=({{{1|1}}}E(1-{{{2|0}}}))round0)}}
     |-4={{rnd|{{{1|1}}}*100|3}}{{{¢|}}}
+
     |-4={{formatnum:{{rnd|{{{1|1}}}*100|3}}}}{{{¢|}}}
     |-3={{rnd|{{{1|1}}}*100|2}}{{{¢|}}}
+
     |-3={{formatnum:{{rnd|{{{1|1}}}*100|2}}}}{{{¢|}}}
     |-2={{rnd|{{{1|1}}}*100|1}}{{{¢|}}}
+
     |-2={{formatnum:{{rnd|{{{1|1}}}*100|1}}}}{{{¢|}}}
     |-1={{rnd|{{{1|1}}}*100|0}}{{{¢|}}}
+
     |-1={{formatnum:{{rnd|{{{1|1}}}*100|0}}}}{{{¢|}}}
     |0={{{$|}}}{{rnd|{{{1|1}}}|1}}0
+
     |0={{{$|}}}{{formatnum:{{rnd|{{{1|1}}}|1}}0}}
     |1={{{$|}}}{{rnd|{{{1|1}}}|0}}
+
     |1={{{$|}}}{{formatnum:{{rnd|{{{1|1}}}|0}}}}
     |2={{{$|}}}{{rnd|{{{1|1}}}|-1}}
+
     |2={{{$|}}}{{formatnum:{{rnd|{{{1|1}}}|-1}}}}
     |3={{{$|}}}{{rnd|{{{1|1}}}|-2}}
+
     |3={{{$|}}}{{formatnum:{{rnd|{{{1|1}}}|-2}}}}
     |4={{{$|}}}{{rnd|{{{1|1}}}|-3}}
+
     |4={{{$|}}}{{formatnum:{{rnd|{{{1|1}}}|-3}}}}
     |5={{{$|}}}{{rnd|{{{1|1}}}|-4}}
+
     |5={{{$|}}}{{formatnum:{{rnd|{{{1|1}}}|-4}}}}
     |6={{{$|}}}{{rnd|{{{1|1}}}/1E6|1}} million
+
     |6={{{$|}}}{{formatnum:{{rnd|{{{1|1}}}/1E6|1}}}} million
     |7={{{$|}}}{{rnd|{{{1|1}}}/1E6|0}} million
+
     |7={{{$|}}}{{formatnum:{{rnd|{{{1|1}}}/1E6|0}}}} million
     |8={{{$|}}}{{rnd|{{{1|1}}}/1E6|-1}} million
+
     |8={{{$|}}}{{formatnum:{{rnd|{{{1|1}}}/1E6|-1}}}} million
     |9={{{$|}}}{{rnd|{{{1|1}}}/1E9|1}} billion
+
     |9={{{$|}}}{{formatnum:{{rnd|{{{1|1}}}/1E9|1}}}} billion
     |10={{{$|}}}{{rnd|{{{1|1}}}/1E9|0}} billion
+
     |10={{{$|}}}{{formatnum:{{rnd|{{{1|1}}}/1E9|0}}}} billion
     |11={{{$|}}}{{rnd|{{{1|1}}}/1E9|-1}} billion
+
     |11={{{$|}}}{{formatnum:{{rnd|{{{1|1}}}/1E9|-1}}}} billion
     |12={{{$|}}}{{rnd|{{{1|1}}}/1E12|1}} trillion
+
     |12={{{$|}}}{{formatnum:{{rnd|{{{1|1}}}/1E12|1}}}} trillion
     |13={{{$|}}}{{rnd|{{{1|1}}}/1E12|0}} trillion
+
     |13={{{$|}}}{{formatnum:{{rnd|{{{1|1}}}/1E12|0}}}} trillion
     |14={{{$|}}}{{rnd|{{{1|1}}}/1E12|-1}} trillion
+
     |14={{{$|}}}{{formatnum:{{rnd|{{{1|1}}}/1E12|-1}}}} trillion
     |{{{$|}}}{{rnd|{{{1|1}}}|{{#expr:{{{2|0}}}+(100=({{{1|1}}}E(1-{{{2|0}}}))round0)}}}}
+
     |{{{$|}}}{{formatnum:{{rnd|{{{1|1}}}|{{#expr:{{{2|0}}}+(100=({{{1|1}}}E(1-{{{2|0}}}))round0)}}}}}}
 
   }}
 
   }}
 
}}<noinclude>
 
}}<noinclude>
 
{{pp-template|small=yes}}
 
{{pp-template|small=yes}}
 
</noinclude>
 
</noinclude>

Revision as of 23:34, 28 September 2020