Why does'nt Swift use Float | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why does'nt Swift use Float

30th Jul 2016, 12:40 AM
AshBreez450
AshBreez450 - avatar
3 Answers
0
It does?
30th Jul 2016, 6:52 PM
slirig
0
Swift uses Float and Double!
30th Jul 2016, 11:31 PM
Andre Dombrowski
Andre Dombrowski - avatar
0
Swift uses both float and double. But if you do not define a variables initializer by default it sets it to double. the reason can be because it can hold more decimal places. Hope its correct.....
4th Sep 2016, 6:35 AM
Ruchi Gupta
Ruchi Gupta - avatar