If the value is a number, return 1 and store the number in out, otherwise return 0.
See Implementation
If the value is a number, return 1 and store the number in out, otherwise return 0.