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