Template:Ifnumber/doc

Usage
Returns 1 if the value is numeric and 0 otherwise.

Examples
value "$123$" not numeric