JavaScript Number isInteger() method

The JavaScript number isInteger() method is used to find whether a number is an integer number or not. Syntax:


Parameters n: It represents the number on which integer checks have to be informed.

Returns It returns true if the specified number is an integer number otherwise returns false.


<!DOCTYPE html>
var n= 12.334;
Please follow and like us:
Content Protection by