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 data or variable can be receive or send from PHP to HTML page??

3 Answers   TCS,


Why is php so popular?

0 Answers  


Which function would you use to format date information in php?

0 Answers  


Which function would you use to determine the length of a string in php?

0 Answers  


What is cakephp framework?

0 Answers  


Explain me the difference between include and require?

0 Answers  


Explain Magento's autoload functionality and how to instantiate classes? What is the process you take when theming a store? Talk about Magento collections and how you use them?

0 Answers  


How to download file in php?

0 Answers  


Is php is dying?

0 Answers  


How to convert numbers to strings in php?

0 Answers  


Tell me how is it possible to propagate a session id?

0 Answers  


How check variable is set or not in php?

0 Answers  


Categories