Module:Leading zeros
Revision as of 16:24, 24 January 2019 by Wikipedia>MusikAnimal (Protected "Module:Leading zeros": High-risk module ([Edit=Require autoconfirmed or confirmed access] (indefinite)))
| This module is rated as beta, and is ready for widespread use. It is still new and should be used with some caution to ensure the results are as expected. |
This module is created for Template:SEHK. It is able to strip all leading zeros from the value (0001 to 1), while showing "Incorrect" as a error message when a non-numeric value is inputted. This module can be implemented to different template, if applicable.
Usage
{{#invoke:Leading zeros |stripzeros |"number-goes-here"}}