double b = 9.7;
int a = (int)b;
String c = b+"";
String d = c.substring(c.indexOf("."),c.length());
System.out.println(a);
System.out.println(d);
double b = 9.7;
int a = (int)b;
String c = b+"";
String d = c.substring(c.indexOf("."),c.length());
System.out.println(a);
System.out.println(d);