# Does integer division round down Java?

**division**happens. Then the floating point result is converted to an

**int**. Reuseman said that

**integer division rounds**toward zero. Well, float->

**int**conversion also

**rounds**toward zero.

Herein, does Java integer division round up or down?

**Java** internally **does rounding** to zero, remove anything to the right of the decimal when you **divide** two **integers**. So **Does Java division round down**? The answer is Yes. **Java does** a **round down** in case of **division** of two **integer** numbers.

**Java**were

**rounding**the value, the result would be 4. Instead, it simply chops off anything to the right of the decimal point, leaving only the

**integer**value. According to

**Java's**internal working, this truncation is actually

**rounding**.

**Java**refers to this as

**rounding**toward zero.

Just so, does integer division round down?

Yes, the result is always truncated towards zero. It will **round** towards the smallest absolute value. For unsigned and non-negative signed values, this is the same as floor (**rounding** towards -Infinity).

**Java** Math **round**() method with Example The result is rounded to an **integer** by adding 1/2, taking the floor of the result after adding 1/2, and casting the result to type long. If the argument is NaN, the result is 0. If the argument is negative infinity or any value less than or equal to the value of **Integer**.