is.wholenumber function

Check if a value is a whole number