Template:Ifnumber/doc

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