0

Why does the float variable exist if double is twice as precise?

2nd Aug 2016, 2:33 PM
Capayo
1 Answer
+ 3
float uses less memory (has smaller size), so when you don't need the wide range of numbers that double covers, you should use float. Sometimes in large projects every byte counts.
3rd Aug 2016, 10:14 AM
Alireza M
Alireza M - avatar