Added isInteger() method to Number type