i am curious and searching basic java primitive value "double". it say double is approximately 10^308 length.
but every compile file,
error: integer number too large: 123456789101115 double a= 123456789101115;
this is my sample:
public static void main(String []args){
double a= 123456789101115;
System.out.println(a);
}
i want when it compile and running, it show 123456789101115. maybe some people say, why not use long?
actually i want to create calculation like output= 0.354 * 123456 (about 15 digit).
And one more, i want all value printout, which mean not using E.. ex: 6.6E9 but i want full ex: 6600000000 any suggest?