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

Explain me what is the use of header() function in php?

0 Answers  


Can we use php variable in javascript?

0 Answers  


What is the use of is_array() and in_array()?

0 Answers  


For printing out strings, there are echo, print and printf. Explain the differences.

3 Answers  


Can we learn php without html?

0 Answers  


How can you pass a variable by reference?

0 Answers  


Do you know what are traits?

0 Answers  


Should I learn php before wordpress?

0 Answers  


What is isset in php?

0 Answers  


what are interfaces and Abstart classes

0 Answers   Net Solution,


What is a substring in php?

0 Answers  


What is the difference between echo and print statement?

11 Answers   Rushmore Consultancy,


Categories