wholenumber
Wholenumber is a term used to refer to the set of non-negative integers: 0, 1, 2, 3, ... In mathematics, the wholenumber set is commonly treated as the subset of integers consisting of zero and the positive integers. Some sources use wholenumber and whole number as synonyms for non-negative integers; others align natural numbers with or without zero. When zero is included, the set is commonly described as {0,1,2,...}, denoted Z≥0 or N0 in various texts.
In arithmetic, wholenumbers are closed under addition and multiplication, and they form a semiring under these
In computing, a wholenumber is often implemented as an unsigned or non-negative integer data type. Common bit
Wholenumbers are used in counting discrete objects, statistics, and computer algorithms where negative values are not
See also natural numbers, integers, unsigned integer, arithmetic.