Positive whole numbers


#1

Not sure if I am in the correct category for this, but my question is about chapter 3 exercise recursion.
The requirements state that only positive WHOLE numbers are to be accepted. How do we build a check for whole numbers, meaning numbers without digits?