9
In groovy a division results in a BigDecimal if the operands are of type Integer, Long, BigInteger or BigDecimal:
See for instance this tutorial:
The division operators "/" and "/=" produce a Double result if either operand is either Float or Double and a BigDecimal result otherwise (both operands are any combination of Integer, Long, BigInteger, or BigDecimal).
[...]
For example
1/2 == new java.math.BigDecimal("0.5");[...]
Integer division can be performed on the integral types by casting the result of the division. For example:
assert (int)(3/2) == 1I;