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