java get int from double without rounding code example Example: java get int from double without rounding int value = (int) 6.14; // 6 int score = (int) 6.99; // 6