Android Studio Float to Int

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