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