+ 1
What is the difference between float and double float?
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.
- 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