getHalfUp() RoundingType.getHalfUp() Specifies to round towards "nearest neighbour". If both neighbours are equidistant then round up.