Template:ConvertDigit: Difference between revisions

Content deleted Content added
imported>Cbrown1023
No edit summary
imported>Ebraminio
No edit summary
Line 1:
{{ConvertDigit/core|{{formatnum:{{{1|123456789}}}|R}}|{{{2|bengali}}}}}
{{ #ifexpr: {{{1}}} > 999999999
| 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}}}}}
}}
}}
}}
}}
}}
}}
}}
}}
}}