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 use of preg_replace in php?

0 Answers  


How we can get the number of elements in an array?

0 Answers  


What is the delimiter syntax is PHP's default delimiter syntax

0 Answers  


What are sql injections, how do you prevent them and what are the best practices?

0 Answers  


How is csrf token generated?

0 Answers  






Write a program to show the joining of two strings in php?

0 Answers  


What is return in php function?

0 Answers  


What is the mysql injection?

0 Answers  


What is $$ in php?

0 Answers  


how can i disable multiple user in the same password in my website using any scripts

1 Answers  


What is strlen php?

0 Answers  


How many ways to include variables in double-quoted strings in php?

0 Answers  


Categories