Template:IsNum/doc

From FamilySearch Wiki
< Template:IsNum
Revision as of 14:37, 6 February 2014 by DiltsGD (talk | contribs) (create page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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