Double and Float! | Sololearn: Learn to code for FREE!


Double and Float!

Is there any differences between Double and Float in swift language? when we should use each of them?

11/10/2016 3:15:08 PM

Amin Ghasemi

3 Answers

New Answer


In short, double is a decimal number that's more accurate than a float. And that goes for all languages.


double use 64bit float-point number float 32bit.


64 bit doubles have more decimal places are greater precision than 32 bit floats