Convertir un float en int en java

int bob = (int) 3.14;    \\ bob = 3
Disgusted Donkey