Template:Four digit
Revision as of 12:11, 21 November 2016 by en>Materialscientist (Changed protection level for "Template:Four digit": Highly visible template ([Edit=Require template editor access] (indefinite) [Move=Require administrator access] (indefinite)))
0000
Usage
Pads a number to four digits with leading zeros.
Examples
{{Four digit|12}}
becomes 0012{{Four digit|1234}}
remains 1234{{Four digit|123456}}
remains 123456
See also
- {{Two digit}}
- {{Three digit}}
The above documentation is transcluded from Template:Four digit/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |