How can I know that a variable is a number or not using a
JavaScript?

Answers were Sorted based on User's Feedback



How can I know that a variable is a number or not using a JavaScript?..

Answer / venkat

By using isNaN() function

Is This Answer Correct ?    21 Yes 1 No

How can I know that a variable is a number or not using a JavaScript?..

Answer / umapathi

bool_is_numeric

Is This Answer Correct ?    8 Yes 3 No

Post New Answer

More PHP Interview Questions

How do you end a session in php?

0 Answers  


What are the features and advantages of object-oriented programming?

5 Answers   HCL,


What are the __construct() and __destruct() methods in a php class?

0 Answers  


Which cryptographic extension provide generation and verification of digital signatures?

0 Answers  


what is mean by portal

0 Answers  






How to create an empty array in php?

0 Answers  


What is namespaces in PHP?

0 Answers  


Which is the best method to fetch the data from mysql? 1.mysql_fetch_array() 2.mysql_fetch_object() 3.mysql_fetch_row() 4.mysql_fetch_assoc()

6 Answers  


What changes I have to do in php.ini file for file uploading?

0 Answers  


What is full form of PHP?

0 Answers  


how to use between operator when retrieve from database(format-2008-jun-06)

3 Answers  


Write a program to get lcm of two numbers using php?

0 Answers  


Categories