+ 1

What is the difference between float and double float?

15th Sep 2021, 3:31 PM
Vaishnavi Ramdas Patil
Vaishnavi Ramdas Patil - avatar
2 Respuestas
+ 1
The difference is in the decimal precision. Float has about 8 digit decimal precision. So it can hold 8 digits after the decimal point. Double can hold more (about 16 digits). But Double takes more memory in the ram than float.
15th Sep 2021, 3:48 PM
M Nazrul Islam
- 2
These are almost the same - two names are provided because in some programming languages there are differences between float and double types. There are no such differences in python, but note that float is built in to python, while double comes from numpy, and hence is slightly different. Source: Quora
15th Sep 2021, 3:49 PM
Mohd Aadil
Mohd Aadil - avatar