How Can I Know That A Variable Is A Number Or Not Using A JavaScript

How Can I Know That A Variable Is A Number Or Not Using A JavaScript


  • 4 Dec, 2011

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

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.