0

I always get confused in data types i. e long,double...is there any solution

7th Dec 2018, 6:13 PM
Adrash Kumar
Adrash Kumar - avatar
4 Respuestas
+ 14
Adding to Taste answer : int -> integers [ whole numbers( 1, 2 , 3 , ...) , 0 , -ve integers(-1, -2, -3 , ...)]
7th Dec 2018, 6:36 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 3
Lets make it simple Float, Double -> decimal number int -> whole number long -> just like int, but can store long(er) value than int does
7th Dec 2018, 6:28 PM
Taste
Taste - avatar
+ 2
Taste Let me also add that doubles have "double" precision than floats
7th Dec 2018, 6:31 PM
Dlite
Dlite - avatar
0
I would find a decent reference or make up your own list; print this out and keep it on hand when coding.
7th Dec 2018, 8:13 PM
Duncan
Duncan - avatar