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