Java - Type Casting

double d = 99.9;
 
// Type cast double to int
int i = (int) d;