Everything that is entered by the user is in the form of character strings, it is up to your application to decide what type it represents and to convert it. Use one of the integer parsing functions, such as
strtol[
^] etc, and reject any input that is not a valid number.