• +91 9723535972
  • info@interviewmaterial.com

PHP Interview Questions and Answers

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

Answer - 1) - bool is_numeric( mixed var) Returns TRUE if var is a number or a numeric string, FALSE otherwise. 2)- Definition and Usage The isNaN() function is used to check if a value is not a number. Syntax isNaN(number) Parameter Description number Required. The value to be tested

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners