How would you define Integer? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How would you define Integer?

How would you define Integer, if someone could help me I'd be grateful

12th Mar 2019, 4:40 PM
Pexra59
Pexra59 - avatar
2 Answers
+ 1
It is a number with no decimal part. Exemple : 1 is an integet 1.5 is not ;)
12th Mar 2019, 5:11 PM
Dyf Dyf
Dyf Dyf - avatar
+ 1
An Integer is a numerical number without a desimal which usually contains a max of 32bit memory both into negative number [-(2^^32)] and positive numbers [2^^32] While a double would usually have decimals and a Long Integer is a 64bit number. Integers are usually to count whole numbers such as a number of loops, length of a string or time in milliseconds.
12th Mar 2019, 8:21 PM
Limitless
Limitless - avatar