Additional validation check

Added a check to make sure only whole numbers can be entered