+ 6

How to distinguish between float and double in more details?

10th Dec 2019, 3:57 PM
SAIFUL BIN SAJIS
SAIFUL BIN SAJIS - avatar
3 Answers
+ 5
Okay...now i understand. Thank you very much
10th Dec 2019, 4:06 PM
SAIFUL BIN SAJIS
SAIFUL BIN SAJIS - avatar
+ 4
As the name implies, aĀ doubleĀ has 2x the precision ofĀ float. In general aĀ doubleĀ has 15 decimal digits of precision, whileĀ floatĀ has 7. check this link šŸ‘‡ for more information https://www.google.com/amp/s/www.geeksforgeeks.org/difference-float-double-c-cpp/amp/
10th Dec 2019, 4:04 PM
Arsenic
Arsenic - avatar
+ 4
Nice information
12th Dec 2019, 4:44 AM
Azhar Sajis
Azhar Sajis - avatar