+ 2

what is the difference between integer & double

24th Aug 2016, 8:52 AM
sanky
4 Answers
+ 7
integers are numbers without decimals. double is a floating-point numbers with double precisions.
24th Aug 2016, 8:56 PM
Celal Aybar
Celal Aybar - avatar
+ 2
integers don't have decimals while double contain decimals, and integers represent whole numbers according to my understanding
24th Aug 2016, 9:06 AM
Sandi Sibulali
Sandi Sibulali - avatar
+ 1
integer uses the same size of memory to describe a value of a higher range. Instead double is more precise (decimals) but You couldn't store too high number.
17th Nov 2016, 9:09 PM
Marek Kaczycki
Marek Kaczycki - avatar
0
integer data type used for decimal numbers, and double is data type float data type double is used for pointing value example: double value is = 78.654 with point integer value is = 354678 without point
9th Sep 2016, 8:45 AM
Abdul Jabbar
Abdul Jabbar - avatar