Template:ConvertDigit: Difference between revisions

Content deleted Content added
imported>Cbrown1023
No edit summary
 
(7 intermediate revisions by 4 users not shown)
Line 1:
{{ConvertDigit/core|{{formatnum:{{{1|0}}}|R}}|{{{2}}}}}<noinclude>
<includeonly>{{ #ifexpr: {{{1}}} > 999999999
 
| OUT OF RANGE
{{/doc}}
| {{#ifexpr: {{{1}}} > 99999999
[[Category:Utility templates]]</noinclude>
| {{CD|{{#expr: {{{1}}}/100000000 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 100000000 /10000000 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 10000000 /1000000 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 1000000 /100000 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 100000 /10000 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 10000 /1000 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 1000 /100 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 100 /10 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 10 -0.5 round 0}}|{{{2}}}}}
| {{#ifexpr: {{{1}}} > 9999999
| {{CD|{{#expr: {{{1}}}/10000000 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 10000000 /1000000 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 1000000 /100000 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 100000 /10000 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 10000 /1000 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 1000 /100 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 100 /10 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 10 -0.5 round 0}}|{{{2}}}}}
| {{#ifexpr: {{{1}}} > 999999
| {{CD|{{#expr: {{{1}}}/1000000 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 1000000 /100000 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 100000 /10000 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 10000 /1000 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 1000 /100 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 100 /10 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 10 -0.5 round 0}}|{{{2}}}}}
| {{#ifexpr: {{{1}}} > 99999
| {{CD|{{#expr: {{{1}}}/100000 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 100000 /10000 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 10000 /1000 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 1000 /100 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 100 /10 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 10 -0.5 round 0}}|{{{2}}}}}
| {{#ifexpr: {{{1}}} > 9999
| {{CD|{{#expr: {{{1}}}/10000 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 10000 /1000 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 1000 /100 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 100 /10 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 10 -0.5 round 0}}|{{{2}}}}}
| {{#ifexpr: {{{1}}} > 999
| {{CD|{{#expr: {{{1}}}/1000 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 1000 /100 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 100 /10 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 10 -0.5 round 0}}|{{{2}}}}}
| {{#ifexpr: {{{1}}} > 99
| {{CD|{{#expr: {{{1}}}/100 -0.5 round 0}}|{{{2}}}}}{{CD| {{#expr: {{{1}}} mod 100 /10 -0.5 round 0}}|{{{2}}}}}{{CD| {{#expr: {{{1}}} mod 10 -0.5 round 0}}|{{{2}}}}}
| {{#ifexpr: {{{1}}} > 9
| {{CD|{{#expr: {{{1}}}/10 -0.5 round 0}}|{{{2}}}}}{{CD|{{#expr: {{{1}}} mod 10 -0.5 round 0}}|{{{2}}}}}
| {{CD|{{{1}}}|{{{2}}}}}
}}
}}
}}
}}
}}
}}
}}
}}
}}
</includeonly>