Difference between revisions of "Template:Percentage"
Jump to navigation
Jump to search
(→Add) |
(→Change) |
||
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|}}} |
− | }}</includeonly> | + | }}--> |
+ | {{Percentage|{{#expr:(((({{{1|1}}})/({{{2|2}}}))*100)round0)/100}}%}}</includeonly> |