Open main menu
Changes
Template:Convert/round
532 bytes removed
,
14:07, 11 April 2020
no edit summary
{{#ifexpr: {{{2
<
noinclude
includeonly
>
|1234.5678</noinclude>}}}=0
| 0
|
{{formatnum:{{
Rnd
| 1 = {{{2<noinclude>|1234.5678<
rnd
/
noinclude>}}}
a
|
2 = {{Max/2
| 1 =
{{#expr:(
{{Precision
| 1 = 1
{{{1
<noinclude>|2</noinclude>}}
}
}})
+
round
({{{
5<noinclude>|0</noinclude>
2
}}})
-0.5+ln2/ln10round0
}}
|
{{{
2
=
}}}|
{{#expr:
1-{{Order of magnitude
| 1 =
{{{2
<noinclude>|1234.5678</noinclude>
}}}
}}}}
}}
}}}}
}}<noinclude
>
<!--{{pp-template|small=yes
0
}}
-->
{{Documentation|content=
== Usage ==
* "{{T|Convert/round|1|1234.5678
}}
" gives "{{Convert/round|1|1234.5678}}".
[[Category:Subtemplates of Template Convert]]
}}</
noinclude
includeonly
>
← Older edit
Zacharycook505-104668625857976836193
289
edits