0

What is the difference between float and double variable's use and why we write f after declaration of float variable

please answer me in detail with examples

25th May 2018, 2:50 PM
Masterpeice #changed_man
Masterpeice #changed_man - avatar
1 Odpowiedź
0
As the name implies, a double has 2x the precision of float[1]. In general a double has 15 decimal digits of precision.
25th May 2018, 6:22 PM
BraveHornet
BraveHornet - avatar