Template:Isnumeric/doc

From FamilySearch Wiki
< Template:Isnumeric
Revision as of 14:36, 23 February 2010 by Thomas Lerman (talk | contribs) (Fix category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the {{Isnumeric}} template. This template is used to test if the passed in parameter is numeric or not. Only one parameter is used and required, the value to be tested.

Examples[edit source]

Entered Produces Notes
{{Isnumeric{{{3}}}{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} 782195 Correct
{{Isnumeric{{{3}}}{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} Contains non-numeric characters
{{Isnumeric{{{2}}}{{{3}}}{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} Missing number

See also[edit source]