+ 2
Double and Float!
Is there any differences between Double and Float in swift language? when we should use each of them?
3 Réponses
+ 3
In short, double is a decimal number that's more accurate than a float. And that goes for all languages.
+ 2
double use 64bit float-point number float 32bit.
+ 1
64 bit doubles have more decimal places are greater precision than 32 bit floats