So , whats that Double thing? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

So , whats that Double thing?

I have seen in the c# lesson that double thing . I haven't seen it before in any other tutorials . So guy , what double means ?

22nd Nov 2016, 7:31 PM
AlexG
AlexG - avatar
3 Answers
+ 4
in simple lang double is a data type that can store nos with decimal points int can only store integers. you should read Udi s answer too it is more perfect my answer was to just explain in simple terms.
23rd Nov 2016, 4:15 AM
Sandeep Chatterjee
+ 1
double precision is the standard name for floating point numbers represented by 64 bits, compared with single precision, represented by 32 bits. floating point numbers have 2 parts, mantissa and exponent. The number is represented by mantissa*2^exponent. For further reading, please see : https://en.m.wikipedia.org/wiki/IEEE_floating_point
22nd Nov 2016, 7:40 PM
Udi Finkelstein
Udi Finkelstein - avatar
+ 1
ok thx , the guy above speak in Chinese for me
23rd Nov 2016, 6:30 AM
AlexG
AlexG - avatar