Android Studio Float to INT

int i = Math.round(f); // f a float
Im_Arxus