Template:Round: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>PeterSymonds
reformat code per talk
Ookami (talk | contribs)
m 67 revisions imported
 
(33 intermediate revisions by 15 users not shown)
Line 1: Line 1:
<includeonly>{{formatnum:{{rnd/a|{{#expr:({{{1}}})round({{{2}}})}}|{{{2}}}}}}}</includeonly><noinclude>{{pp-template}}
<includeonly>{{#iferror:{{#expr:{{{2|0}}}}} |
{{template doc}}
  {{main other|[[Category:Pages with bad rounding precision]]}}{{hid|Bad rounding here}}<!--
  -->{{#invoke:Math|precision_format| {{{1}}} | 1-{{order of magnitude|{{{1}}}}} }}|
  {{#invoke:Math|precision_format| {{{1}}} | {{{2|0}}}}}}}</includeonly><noinclude>
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 13:41, 3 September 2020