The difference between whole numbers and integers is that whole numbers do not include negative numbers, whereas integers do. Therefore, the same rule used by integers can be used with whole numbers, so long as negative numbers are not used.
5.9m questions
7.7m answers