Yes. Whole numbers, or integers, include both positive and negative numbers; any number that has no decimals or fractional part.
Actually, the term "whole number" is used in different ways by different people; some use it only for positive (or non-negative) integers; so it is probably safer to use the term "integer" or "positive integer", to clarify your intended meaning, and avoid the term "whole number" entirely.
Chat with our AI personalities