def format_number(number):
    """ Return the number formatted, if the number contain .0 return only the integer part """
    if number % 1 == 0:
        return int(number)
    else:
        return number