I am learning java,
in i know in C,
when we use: float and double ...
the format is :
%f for float
%lf for double.
in java i don't understand why we use
double rather than float??
and the format for double is %f !!!
- Can some1 explain why we use double and where float is used in java?
What are the data types and format specifiers for them ? if you know please post a link where i can read about it?