I have the number "159.82" and I need to get it to print just "82" 
What I have been trying is something along the lines of 
double total = 159.82;
System.out.println(total - (int) total); 
But that leaves me with 0.8199999999999 so clearly I am doing something wrong.
 
     
     
     
     
     
    