Template:ConvertDigit: Difference between revisions

Content deleted Content added
Azariv (talk | contribs)
 
imported>Cbrown1023
Line 1:
<includeonly>{{ #ifexpr: {{{1}}} > 999999999
<includeonly>{{#if:{{{1|}}}|{{#switch:{{{1}}}|1=১|2=২|3=৩|4=৪|5=৫|6=৬|7=৭|8=৮|9=৯|0=০|-1=০|incorrect required parameter 1=''month''!}}|Missing required parameter 1=''month''!}}</includeonly>
| OUT OF RANGE
| {{#ifexpr: {{{1}}} > 99999999
| {{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>