Template:Isnum

Determine if the argument is a number, returning 1 if it is and 0 if it isn't, or the second and third arguments, respectively