Difference between revisions of "Template:Percentage"

From IdleCorp Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<includeonly><!--{{#invoke:Percentage|main|{{#expr:{{formatnum:{{{1|0}}}|R}}}}|{{#expr:{{formatnum:{{{2|100}}}|R}}}}|{{{3|}}}|pad={{{pad|}}}|sigfig={{{sigfig|}}}|%={{{%|%}}}|nonscinote={{{nonscinote|}}}
 
<includeonly><!--{{#invoke:Percentage|main|{{#expr:{{formatnum:{{{1|0}}}|R}}}}|{{#expr:{{formatnum:{{{2|100}}}|R}}}}|{{{3|}}}|pad={{{pad|}}}|sigfig={{{sigfig|}}}|%={{{%|%}}}|nonscinote={{{nonscinote|}}}
 
}}-->
 
}}-->
{{#expr:(((({{{1|1}}})/({{{2|2}}}))*100)round0)/100}}</includeonly>
+
{{#expr:(((({{{1|1}}})/({{{2|2}}}))*10000)round0)/100}}%</includeonly>

Latest revision as of 12:17, 17 December 2020