double a = 69.67;
double b = 34;

 

System.out.println(a%b);
System.out.println(a-b*((int)(a/b)));

 


 

+ Recent posts