def isinteger(number):
    """ This method decides if a given floating point number is an integer or not --
        so only 0s after the decimal point.
        For example 1.0 is an integer 1.0002 is not."""
    return number % 1 == 0