1.

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

Answer»

bool is_numeric ( MIXED var) Returns TRUE if var is a number or a numeric string, FALSE otherwise.or use isNaN(mixed var)The isNaN() function is USED to check if a VALUE is not a number.

bool is_numeric ( mixed var) Returns TRUE if var is a number or a numeric string, FALSE otherwise.or use isNaN(mixed var)The isNaN() function is used to check if a value is not a number.



Discussion

No Comment Found