how to check if a number is a a float or Integer in javaacript code example Example: javascript is number an integer Number.isInteger(value) //returns a Boolean