Vector <Double> v=new Vector<Double>();
for (double d=1;d<=50;d++) {
v.add(d);
v.add((double)Math.round((d*1.3)*100/100));
}
System.out.println(Math.round((5.255685650*1.3)*100/100));
System.out.println("Multiples of 1.3 is -->"+v);
I want the decimal like 45.54 which is stored in vector also. Please tell me..