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