Make sure cents returns an integer on ruby 1.8

BigDecimal#round on ruby 1.8 returns BigDecimal, not Integer.