Possible Duplicate:
Is there a (built-in) way in JavaScript to check if a string is a valid number?
I am using JS in a riak map reduce job. I have a number I want to map and needs to be a number.
if I have a variable:
 var wp=sfggz5341&& or var=100
How can if test if number?
e.g.
if wp==Number:    
    OK 
else:    
    pass
 
     
     
     
     
     
    