we now check if the number we have been given is an integer