From http://www.w3schools.com (Copyright Refsnes Data)
JavaScript Functions
The isFinite() function is used to check if a value is a finite, legal number.
| isFinite(value) |
| Parameter | Description |
|---|---|
| value | Required. The value to be tested |
ExampleCheck for finite numbers:
The output of the code above will be:
Try it yourself » |
JavaScript Functions
From http://www.w3schools.com (Copyright Refsnes Data)