convertir un flutuat en int en java

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