0
When to use double and when to use float?
2 Answers
+ 2
you have to use double when you need more space to assign a value for this variable...float is used when we need more simple floating pointing numbers... hope that this helps ;-)
0
double is used when no. is in fraction...float also can be use to represent fractional value