Difference between revisions of "Template:IsNum"
From Self-sufficiency
m (Changed protection level for "Template:IsNum": Undo cascade [edit=sysop:move=sysop]) |
m (1 revision from commons:Template:IsNum) |
(No difference)
|
Latest revision as of 20:46, 26 September 2010
0
- 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