double population = 7000000000; long population2 = 7000000000;
I have to write down world population, so i used both double and long primitive types. However, both of them says that this number is out of range. What can i do with this? i made a google search but it says that long primitive type is supposed to be accepted. Can anybody please help me ?