Template:Isnumeric/doc

From FamilySearch Wiki
Jump to: navigation, search

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

Entered Produces Notes
{{Isnumeric|782195}} 782195 Correct
{{Isnumeric|941.5 D27gj}} Contains non-numeric characters
{{Isnumeric}} Missing number

See also