Description :

This method is used to check whether the given value is number or not. It checks only for digits (both negative and positive whole numbers) and not decimals.

But still it accepts xxx.0 as a valid one and it works well for maximum 15 digits.

Also if you give the valid number enclosed with single or double quotes, still it says invalid and returns false.

Syntax :


Input Parameters :

The value to be tested

Return Values :

Returns true if it is number otherwise returns false

Test this method :

Test Result :   
Your Code :