Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Number or Not !!


Message #1 by dkencana@m... on Tue, 12 Dec 2000 18:52:13 +0700
Use the isNaN (aValue) function

This will return true if the argument is not a number (NaN).

HtH

Imar


At 12:13 PM 12/12/2000 -0800, you wrote:
>hi all
>if i have one variable in javascript, is there anyone
>know how to know that variable's value number or not ??
>Example :
>  a = 5    ==> number
>  a = a4   ==> not number or string
>
>thanks
>Kid
>

  Return to Index