« Modèle:Precision1 » : différence entre les versions
Contenu supprimé Contenu ajouté
m "subst" de {{Precision/tz}} |
indentation |
||
Ligne 1 :
<includeonly>{{
#expr:{{
#ifeq:{{{1}}}
| 0
| 0
| {{
#ifexpr:{{{1}}} round 0={{{1}}}
| 0
| {{
#ifexpr:{{{1}}} round 1={{{1}}}
| 1
| {{
#ifexpr:{{{1}}} round 2={{{1}}}
| 2
| {{
#ifexpr:{{{1}}} round 3={{{1}}}
| 3
| {{
#ifexpr:{{{1}}} round 4={{{1}}}
| 4
| {{
#ifexpr:{{{1}}} round 5={{{1}}}
| 5
| 6
}}
}}
}}
}}
}}
}}
}}
+
{{#switch:x{{{1}}}
| x{{#expr:{{{1}}}+0}}
| x{{#expr:{{{1}}}+0}}.=0
| x{{#expr:{{{1}}}+0}}0
| x{{#expr:{{{1}}}+0}}.0=1
| x{{#expr:{{{1}}}+0}}00
| x{{#expr:{{{1}}}+0}}.00=2
| x{{#expr:{{{1}}}+0}}000
| x{{#expr:{{{1}}}+0}}.000=3
| x{{#expr:{{{1}}}+0}}0000
| x{{#expr:{{{1}}}+0}}.0000=4
| x{{#expr:{{{1}}}+0}}00000
| x{{#expr:{{{1}}}+0}}.00000=5
| 0
}}
}}</includeonly><noinclude>{{/Documentation}}</noinclude>
|