Template:Percentage: Difference between revisions
Appearance
{{Round}} |
add optional sigfig per request on talk page |
||
| Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly>{{number table sorting|{{safesubst:#if:{{{sigfig|}}} | ||
|{{safesubst:significant figures|100*{{safesubst:formatnum:{{{1|0}}}|R}}/{{safesubst:formatnum:{{{2|100}}}|R}} | {{{sigfig|}}} }} | |||
|{{safesubst:#if:{{{pad|}}} | |||
|{{safesubst:round|100*{{safesubst:formatnum:{{{1|0}}}|R}}/{{safesubst:formatnum:{{{2|100}}}|R}} | {{{3|{{{pad}}}}}} }} | |||
|{{safesubst:#expr:100*{{safesubst:formatnum:{{{1|0}}}|R}}/{{safesubst:formatnum:{{{2|100}}}|R}} round ({{{3|0}}}>=0)*{{{3|0}}}}}}} | |||
}} | |||
}}{{{%|%}}}</includeonly><noinclude> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 12:39, 19 October 2019
File:Test Template Info-Icon - Version (2).svg Template documentationcreatepurge