Template:IsNum/doc
![]() |
This is a documentation subpage for Template:IsNum (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
- Description
- This templates returns "1" (numeric one) if the parameter has a numeric value, or "0" (numeric zero) if not (i.e. text or empty).
- Syntax
- {{IsNum|<value>}}
- Examples
- {{IsNum|100}} = 1
- {{IsNum|abc}} = 0