- double: for floating-point or real numbers with optional decimal points and fractional parts in fixed or scientific notations, | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

- double: for floating-point or real numbers with optional decimal points and fractional parts in fixed or scientific notations,

Can you dum it down please

25th May 2019, 8:20 AM
Daniel Svobodin
Daniel Svobodin - avatar
4 Answers
+ 3
Technically, value are stored in memory as 0s & 1s (binary). In the 'real world' we deal with decimal values (base 10). So numeric data type like integer, float & double float (for larger values) enable representation in decimal format
27th May 2019, 9:55 PM
Da2
Da2 - avatar
28th May 2019, 3:32 AM
Da2
Da2 - avatar
+ 1
double lets you store decimal numbers with a higher precision (more decimals) than float. Tell me if it helps. :D
26th May 2019, 1:42 AM
Franz Lüpke
Franz Lüpke - avatar
+ 1
Yes. That's right, but the question request was to dumb it down, so I try not to explain technical things.
27th May 2019, 10:23 PM
Franz Lüpke
Franz Lüpke - avatar