+ 4
What is an integer?
2 Answers
+ 3
An integer is a type of variable that can hold a number. As example 0; 1; 2; 3; 4; 5; 6; 7; 8; 9; 10; 11...3543356 and so on.
There is another type of variable: float or floating point. It can holds the numbers integer can hold AND decimal numbers. As example 3.7; 6.34; 656.9 and so on.
Negative numbers such as -3; -5; -8; -63567; -5.98; -0.004 are possible numbers for int and float too.
+ 1
an integer is a number without comas, such as 4 or -1527; something like 4.5 isn't considered an integer anymore