round float to int java code example Example: convertir un float en int en java int bob = (int) 3.14; \\ bob = 3