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

What is RSS?How to use it in Program?

3 Answers  


What is difference between compile time and run time polymorphism?

0 Answers  


What type of operation is needed when passing values through a form or an url?

0 Answers  


Why do we use php?

0 Answers  


Is php a case sensitive language?

0 Answers  






Do you know what is use of count() function in php?

0 Answers  


How long should a session last?

0 Answers  


What is php limit?

0 Answers  


Can you define an argument as a reference type?

0 Answers  


What is the use of preg_match in php?

0 Answers  


What is the actually used php version?

0 Answers  


What is $_ get?

0 Answers  


Categories