Template:PrefixZero
From Rollo
Revision as of 16:07, 22 February 2019 by G (talk | contribs) (Created page with "{{#ifexpr: {{{1|1}}} < 10 | 00{{{1|1}}} | {{#ifexpr: {{{1|1}}} < 100 | 0{{{1|1}}} | {{NM|{{{1|}}}}}}}}}<noinclude> Category:Templates ==Usage== <pre>{{PrefixZero|1}}}</pr...")
001
Usage
{{PrefixZero|1}}}
Replacing "1" with any digit less than 10 returns a number with two 0s in front of it. E.g., "001".
Replacing "1" with any digit more than 9 but less than 100 a number with two 0s in front of it. E.g., "010".