According to Wikipedia when rounding a negative number, you round the absolute number. So by that reasoning, -3.5 would be rounded to -4. But when I use java.lang.Math.round
For what it's worth, java.math.BigDecimal has selectable rounding modes if you need more control over that sort of thing.